mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: removes _.map from codebase (#6616)
This commit is contained in:

committed by
Régis Hanol

parent
907cf3ee2f
commit
c4ed353fae
@ -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)));
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user