Skip to content

Commit

Permalink
Incrase max about_me character length
Browse files Browse the repository at this point in the history
  • Loading branch information
Swan committed Oct 18, 2024
1 parent b764597 commit a4f5f97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/clans.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func UpdateClan(c *gin.Context) *APIError {
}

if body.AboutMe != nil {
if len(*body.AboutMe) > 2000 {
if len(*body.AboutMe) > 3000 {
return APIErrorBadRequest(errClanAboutMeInvalid)
}

Expand Down
2 changes: 1 addition & 1 deletion handlers/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func UpdateUserAboutMe(c *gin.Context) *APIError {
return APIErrorBadRequest("Invalid request body")
}

if len(body.AboutMe) > 2000 {
if len(body.AboutMe) > 3000 {
return APIErrorBadRequest("Your about me must not be longer than 2,000 characters.")
}

Expand Down

0 comments on commit a4f5f97

Please sign in to comment.