Update title char limit
This commit is contained in:
parent
b45e0b6888
commit
352b36b15d
@ -20,7 +20,7 @@ func CreateForm(ctx *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if len(data.Title) > 255 {
|
||||
if len(data.Title) > 45 {
|
||||
ctx.JSON(400, utils.ErrorStr("Title is too long"))
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user