diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-08-10 14:28:24 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-08-10 14:28:24 -0400 |
commit | 229e843e4c3965a501db69282dc772e45339393f (patch) | |
tree | 5082e6bd0efef508b33135103efb91167f4269d7 /internal/user | |
parent | 4f22460313f21494442fbea5b1fcda49fb897df0 (diff) | |
download | donetick-229e843e4c3965a501db69282dc772e45339393f.tar.gz donetick-229e843e4c3965a501db69282dc772e45339393f.tar.bz2 donetick-229e843e4c3965a501db69282dc772e45339393f.zip |
update `updateAssignee` to retrieve the current user and use their ID as the `UpdatedBy` field.
Diffstat (limited to 'internal/user')
-rw-r--r-- | internal/user/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/user/handler.go b/internal/user/handler.go index ff885f3..d45f05c 100644 --- a/internal/user/handler.go +++ b/internal/user/handler.go @@ -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 } |