From daab816ad24c84ff117d1fe72413e76aa36baa95 Mon Sep 17 00:00:00 2001 From: Flummi Date: Tue, 7 Jun 2022 17:12:50 +0000 Subject: [PATCH 1/2] testpush lol --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { From 076e98a963a13177240fd6bce3e93f677552ed88 Mon Sep 17 00:00:00 2001 From: Flummi Date: Thu, 28 Jul 2022 12:43:23 +0200 Subject: [PATCH 2/2] 70 lol --- src/inc/routes/apiv2/tags.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!'