update updateAssignee to retrieve the current user and use their ID as the UpdatedBy field.

This commit is contained in:
Mo Tarbin 2024-08-10 14:28:24 -04:00
parent 4f22460313
commit 229e843e4c
2 changed files with 12 additions and 6 deletions

View file

@ -102,7 +102,7 @@ func (h *Handler) signUp(c *gin.Context) {
UpdatedAt: time.Now(),
}); err != nil {
c.JSON(500, gin.H{
"error": "Error creating user",
"error": "Error creating user, email already exists or username is taken",
})
return
}