DEV: removes _.map from codebase (#6616)

This commit is contained in:
Joffrey JAFFEUX
2018-11-19 10:46:46 +01:00
committed by Régis Hanol
parent 907cf3ee2f
commit c4ed353fae
9 changed files with 23 additions and 21 deletions

View File

@ -27,7 +27,7 @@ EmailLog.reopenClass({
return ajax(`/admin/email/${status}.json?offset=${offset}`, {
data: filter
}).then(logs => _.map(logs, log => EmailLog.create(log)));
}).then(logs => logs.map(log => EmailLog.create(log)));
}
});