Add blacklist function
This commit is contained in:
parent
100fd41713
commit
c9136f8abd
14 changed files with 486 additions and 48 deletions
|
@ -425,6 +425,9 @@ router.get('/status/:id/:status', passport.csrfProtection, (req, res) => {
|
|||
case 'complained':
|
||||
status = 4;
|
||||
break;
|
||||
case 'blacklisted':
|
||||
status = 5;
|
||||
break;
|
||||
default:
|
||||
req.flash('danger', _('Unknown status selector'));
|
||||
return res.redirect('/campaigns');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue