remove unused variable
This commit is contained in:
parent
aa320e1b54
commit
144a46fa3c
1 changed files with 0 additions and 1 deletions
|
@ -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]);
|
||||||
|
|
Loading…
Reference in a new issue