Update title char limit
This commit is contained in:
parent
b45e0b6888
commit
352b36b15d
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user