- Fix for #890
- "Channels" feature - Shoutout config param rendered on the homepage - "Clone" feature for campaigns
This commit is contained in:
parent
82251d1cb9
commit
00432e6cfe
23 changed files with 1691 additions and 494 deletions
|
@ -735,6 +735,8 @@ async function _removeAndGetTx(tx, context, listId, existing) {
|
|||
if (existing.status === SubscriptionStatus.SUBSCRIBED) {
|
||||
await tx('lists').where('id', listId).decrement('subscribers', 1);
|
||||
}
|
||||
|
||||
return existing;
|
||||
}
|
||||
|
||||
async function remove(context, listId, id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue