Skip to content

Commit

Permalink
Formatting Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alderwhiteford committed Dec 5, 2023
1 parent a3ab511 commit cfcc0c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const (
type SocialProvider string

const (
None SocialProvider = "NONE"
None SocialProvider = "NONE"
Google SocialProvider = "GOOGLE"
)

Expand Down
2 changes: 1 addition & 1 deletion backend/schema/user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func validatePatchUser(id *primitive.ObjectID, user *schema.User, dbClient *mong
}
}

// Hash the user password:
// Hash the user password:
if user.Password != "" {
password, _ := HashPassword(user.Password)
user.Password = *password
Expand Down

0 comments on commit cfcc0c0

Please sign in to comment.