Skip to content

Commit

Permalink
fixed comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Sep 2, 2022
1 parent 93b3788 commit 9d30ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daos/external_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (dao *Dao) FindExternalAuthByUserIdAndProvider(userId, provider string) (*m
// SaveExternalAuth upserts the provided ExternalAuth model.
func (dao *Dao) SaveExternalAuth(model *models.ExternalAuth) error {
// extra check the model data in case the provider's API response
// changes and no longer returns the expected fields
// has changed and no longer returns the expected fields
if model.UserId == "" || model.Provider == "" || model.ProviderId == "" {
return errors.New("Missing required ExternalAuth fields.")
}
Expand Down

0 comments on commit 9d30ca8

Please sign in to comment.