Skip to content

Commit

Permalink
Merge pull request #58 from srm-kzilla/as/fix/add-dept-in-schema
Browse files Browse the repository at this point in the history
add dept field and update email template
  • Loading branch information
meltedhyperion authored Aug 9, 2023
2 parents be61e7e + 46c7599 commit 957fb16
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 158 deletions.
3 changes: 2 additions & 1 deletion api/users/model/users-model.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ type User struct {
PhoneNumber int `validate:"required,min=1000000000,max=9999999999" json:"phoneNumber" bson:"phoneNumber"`
RegNumber string `validate:"required" json:"regNumber" bson:"regNumber"`
EventSlugs []string `json:"events" bson:"events"`
CreatedAt string `json:"createdAt" bson:"createdAt"`
Department string `json:"department" bson:"department"`
CreatedAt string `json:"createdAt" bson:"createdAt"`
}

type RsvpUsers struct {
Expand Down
Loading

0 comments on commit 957fb16

Please sign in to comment.