Update title char limit

This commit is contained in:
rxdn 2022-03-11 01:33:08 +00:00
parent b45e0b6888
commit 352b36b15d

View File

@ -20,7 +20,7 @@ func CreateForm(ctx *gin.Context) {
return return
} }
if len(data.Title) > 255 { if len(data.Title) > 45 {
ctx.JSON(400, utils.ErrorStr("Title is too long")) ctx.JSON(400, utils.ErrorStr("Title is too long"))
return return
} }