Return user email from register
1 files changed, 1 insertions(+), 1 deletions(-) M sdbapi/handlers/usercreate.go
M sdbapi/handlers/usercreate.go => sdbapi/handlers/usercreate.go +1 -1
@@ 61,5 61,5 @@ func CreateUser(c *gin.Context) { return } - c.JSON(http.StatusCreated, gin.H{"id": user.ID, "username": user.Username}) + c.JSON(http.StatusCreated, gin.H{"id": user.ID, "username": user.Username, "email": user.Email}) }