Add option to preserve unsubscribed status on list import, #325
This commit is contained in:
parent
5ada25c2dc
commit
c5b481a266
3 changed files with 14 additions and 2 deletions
|
@ -625,7 +625,7 @@ module.exports.delete = (listId, cid, callback) => {
|
|||
|
||||
module.exports.createImport = (listId, type, path, size, delimiter, emailcheck, mapping, callback) => {
|
||||
listId = Number(listId) || 0;
|
||||
type = Number(type) || 1;
|
||||
type = Number(type) || 0;
|
||||
|
||||
if (listId < 1) {
|
||||
return callback(new Error('Missing List ID'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue