Merge pull request #838 from andresmrm/patch-3
fix endpoint /api/blacklist/delete
This commit is contained in:
commit
cdcc254294
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ router.postAsync('/blacklist/delete', passport.loggedIn, async (req, res) => {
|
||||||
throw new APIError('EMAIL argument is required', 400);
|
throw new APIError('EMAIL argument is required', 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
await blacklist.remove(req.oontext, input.EMAIL);
|
await blacklist.remove(req.context, input.EMAIL);
|
||||||
|
|
||||||
res.json({
|
res.json({
|
||||||
data: []
|
data: []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue