misc lol
This commit is contained in:
@ -163,11 +163,11 @@ export default (router, tpl) => {
|
||||
q = q.andWhere("user_id", req.session.id);
|
||||
const reply = !!(await q);
|
||||
|
||||
await sql('tags') // delete not used tags
|
||||
/*await sql('tags') // delete unused tags
|
||||
.whereNotIn('id', sql('tags_assign').select('tag_id'))
|
||||
.andWhereNot('tag', 'sfw')
|
||||
.andWhereNot('tag', 'nsfw')
|
||||
.del();
|
||||
.del();*/
|
||||
|
||||
return res.reply({ body: JSON.stringify({
|
||||
success: reply,
|
||||
|
Reference in New Issue
Block a user