notes_tree is now soft deleted as well

This commit is contained in:
azivner
2017-10-24 22:58:59 -04:00
parent 8e47e34d1f
commit 5df3b78abc
8 changed files with 44 additions and 11 deletions

View File

@@ -22,7 +22,7 @@ router.get('/', auth.checkApiAuth, async (req, res, next) => {
});
router.post('/', async (req, res, next) => {
body = req.body;
const body = req.body;
if (ALLOWED_OPTIONS.includes(body['name'])) {
const optionName = await sql.getOption(body['name']);