DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

921127ee9e7ad732461d6cff2119d3d16703d40b — Jonni Liljamo 2 years ago 07794c0
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})
}