diff --git a/api/users/model/users-model.go b/api/users/model/users-model.go index dda3a8a..7c5baf9 100644 --- a/api/users/model/users-model.go +++ b/api/users/model/users-model.go @@ -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 { diff --git a/templates/newUserTemplate.html b/templates/newUserTemplate.html index c1a4b88..9d1478c 100644 --- a/templates/newUserTemplate.html +++ b/templates/newUserTemplate.html @@ -533,7 +533,7 @@
- |