trim tags
This commit is contained in:
@ -94,7 +94,7 @@ export default (router, tpl) => {
|
||||
}
|
||||
|
||||
const postid = +req.post.postid;
|
||||
const tag = req.post.tag;
|
||||
const tag = req.post.tag?.trim();
|
||||
|
||||
if(tag.length >= 45) {
|
||||
return res.reply({ body: JSON.stringify({
|
||||
|
Reference in New Issue
Block a user