Update auth.go

This commit is contained in:
niubility000 2021-12-28 11:08:54 +08:00 committed by GitHub
parent 1476eb6dde
commit c2ef0e884c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,8 +116,8 @@ var loginHandler = func(w http.ResponseWriter, r *http.Request, d *data) (int, e
} }
type signupBody struct { type signupBody struct {
Username string `json:"username"` Username string `json:"username"`
Password string `json:"password"` Password string `json:"password"`
InvitationCode string `json:"invitationCode"` InvitationCode string `json:"invitationCode"`
} }