Skip to content

Commit

Permalink
update with new profile pic
Browse files Browse the repository at this point in the history
  • Loading branch information
Linesmerrill committed Nov 7, 2024
1 parent 292de2d commit f2f78f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,9 @@ definitions:
password:
type: string
x-go-name: Password
profilePicture:
type: string
x-go-name: ProfilePicture
resetPasswordExpires:
type: object
x-go-name: ResetPasswordExpires
Expand Down
1 change: 1 addition & 0 deletions models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type UserDetails struct {
Name string `json:"name" bson:"name"`
Username string `json:"username" bson:"username"`
Password string `json:"password" bson:"password"`
ProfilePicture string `json:"profilePicture" bson:"profilePicture"`
ResetPasswordToken string `json:"resetPasswordToken" bson:"resetPasswordToken"`
ResetPasswordExpires interface{} `json:"resetPasswordExpires" bson:"resetPasswordExpires"`
CreatedAt interface{} `json:"createdAt" bson:"createdAt"`
Expand Down

0 comments on commit f2f78f1

Please sign in to comment.