70 lol
This commit is contained in:
parent
daab816ad2
commit
076e98a963
|
@ -30,7 +30,7 @@ export default router => {
|
||||||
const postid = +req.params.postid;
|
const postid = +req.params.postid;
|
||||||
const tagname = req.post.tagname?.trim();
|
const tagname = req.post.tagname?.trim();
|
||||||
|
|
||||||
if(tagname.length >= 45) {
|
if(tagname.length > 70) {
|
||||||
return res.json({
|
return res.json({
|
||||||
success: false,
|
success: false,
|
||||||
msg: 'tag is too long!'
|
msg: 'tag is too long!'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user