mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-05-31 22:58:32 +00:00
internal/apimodule/account: fix multiple imports
This commit is contained in:
parent
71a49e2b43
commit
a54f6f1b10
|
@ -47,7 +47,6 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/storage"
|
||||
"github.com/superseriousbusiness/gotosocial/pkg/mastotypes"
|
||||
"github.com/superseriousbusiness/oauth2/v4"
|
||||
"github.com/superseriousbusiness/oauth2/v4/models"
|
||||
oauthmodels "github.com/superseriousbusiness/oauth2/v4/models"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
)
|
||||
|
@ -147,7 +146,7 @@ func (suite *AccountCreateTestSuite) SetupSuite() {
|
|||
l.Infof("received clientSecret %+v", clientSecret)
|
||||
userID := args.Get(2).(string)
|
||||
l.Infof("received userID %+v", userID)
|
||||
}).Return(&models.Token{
|
||||
}).Return(&oauthmodels.Token{
|
||||
Code: "we're authorized now!",
|
||||
}, nil)
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/oauth"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/storage"
|
||||
"github.com/superseriousbusiness/oauth2/v4"
|
||||
"github.com/superseriousbusiness/oauth2/v4/models"
|
||||
oauthmodels "github.com/superseriousbusiness/oauth2/v4/models"
|
||||
)
|
||||
|
||||
|
@ -143,7 +142,7 @@ func (suite *AccountUpdateTestSuite) SetupSuite() {
|
|||
l.Infof("received clientSecret %+v", clientSecret)
|
||||
userID := args.Get(2).(string)
|
||||
l.Infof("received userID %+v", userID)
|
||||
}).Return(&models.Token{
|
||||
}).Return(&oauthmodels.Token{
|
||||
Code: "we're authorized now!",
|
||||
}, nil)
|
||||
|
||||
|
|
Loading…
Reference in a new issue