This commit is contained in:
@@ -84,8 +84,8 @@ func (con *AuthApi) LoggedIn(ctx *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SignUpRequest struct {
|
type SignUpRequest struct {
|
||||||
Username string
|
Username string `json:"username"`
|
||||||
Password string
|
Password string `json:"password"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (con AuthApi) signUp(ctx *gin.Context) {
|
func (con AuthApi) signUp(ctx *gin.Context) {
|
||||||
|
Reference in New Issue
Block a user