Merge pull request #838 from andresmrm/patch-3

fix endpoint /api/blacklist/delete
This commit is contained in:
Tomas Bures 2020-01-25 14:22:55 +01:00 committed by GitHub
commit cdcc254294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,7 +258,7 @@ router.postAsync('/blacklist/delete', passport.loggedIn, async (req, res) => {
throw new APIError('EMAIL argument is required', 400);
}
await blacklist.remove(req.oontext, input.EMAIL);
await blacklist.remove(req.context, input.EMAIL);
res.json({
data: []