update updateAssignee
to retrieve the current user and use their ID as the UpdatedBy
field.
This commit is contained in:
parent
4f22460313
commit
229e843e4c
2 changed files with 12 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue