remove unused variable

This commit is contained in:
hippoz 2022-04-06 21:22:55 +03:00
parent aa320e1b54
commit 144a46fa3c
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -81,7 +81,6 @@ router.delete(
return res.status(400).json({ ...errors.INVALID_DATA, errors: validationErrors.array() }); return res.status(400).json({ ...errors.INVALID_DATA, errors: validationErrors.array() });
} }
const { name } = req.body;
const { id } = req.params; const { id } = req.params;
const permissionCheckResult = await query("SELECT owner_id FROM channels WHERE id = $1", [id]); const permissionCheckResult = await query("SELECT owner_id FROM channels WHERE id = $1", [id]);