mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 23:02:25 -05:00 
			
		
		
		
	internal/apimodule/account: fix multiple imports
This commit is contained in:
		
					parent
					
						
							
								71a49e2b43
							
						
					
				
			
			
				commit
				
					
						a54f6f1b10
					
				
			
		
					 2 changed files with 2 additions and 4 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue