Increase limit
This commit is contained in:
parent
2749817a6f
commit
d873a4c221
@ -19,7 +19,8 @@ func DeleteTag(ctx *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if body.TagId == "" || len(body.TagId) > 16 {
|
// Increase max length for characters from other alphabets
|
||||||
|
if body.TagId == "" || len(body.TagId) > 100 {
|
||||||
ctx.JSON(400, utils.ErrorStr("Invalid tag"))
|
ctx.JSON(400, utils.ErrorStr("Invalid tag"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user