diff --git a/auth/auth.go b/auth/auth.go index d0c1fee..815ce5b 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -84,8 +84,8 @@ func (con *AuthApi) LoggedIn(ctx *gin.Context) { } type SignUpRequest struct { - Username string - Password string + Username string `json:"username"` + Password string `json:"password"` } func (con AuthApi) signUp(ctx *gin.Context) {