feat: signup return username

This commit is contained in:
nihonium 2025-11-25 04:13:52 +03:00
parent e64e770783
commit a225d1fb60
Signed by: nihonium
GPG key ID: 0251623741027CFC
3 changed files with 10 additions and 17 deletions

View file

@ -116,9 +116,9 @@ type PostAuthSignInResponseObject interface {
}
type PostAuthSignIn200JSONResponse struct {
Error *string `json:"error"`
Success *bool `json:"success,omitempty"`
UserId *string `json:"user_id"`
Error *string `json:"error"`
UserId *string `json:"user_id"`
UserName *string `json:"user_name"`
}
func (response PostAuthSignIn200JSONResponse) VisitPostAuthSignInResponse(w http.ResponseWriter) error {