diff --git a/package.json b/package.json index feaac8e..fff5ec4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "f0ckv2", - "version": "2.2.0", + "version": "2.2.1", "description": "f0ck, kennste?", "main": "index.mjs", "scripts": { diff --git a/src/inc/routes/apiv2/tags.mjs b/src/inc/routes/apiv2/tags.mjs index 41f6311..b551576 100644 --- a/src/inc/routes/apiv2/tags.mjs +++ b/src/inc/routes/apiv2/tags.mjs @@ -30,7 +30,7 @@ export default router => { const postid = +req.params.postid; const tagname = req.post.tagname?.trim(); - if(tagname.length >= 45) { + if(tagname.length > 70) { return res.json({ success: false, msg: 'tag is too long!'