mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Removed unused method from bulk-mailer
- This was a leftover from rebase - The method is not meant to be used anywhere
This commit is contained in:
parent
22b48cbef3
commit
98364e4d66
1 changed files with 0 additions and 16 deletions
|
@ -62,21 +62,5 @@ module.exports = {
|
|||
} catch (err) {
|
||||
common.logging.error({err});
|
||||
}
|
||||
},
|
||||
|
||||
async getStats(messageId) {
|
||||
const mailgunInstance = mailgunProvider.getInstance();
|
||||
try {
|
||||
let filter = {
|
||||
'message-id': messageId
|
||||
};
|
||||
if (!mailgunInstance) {
|
||||
return;
|
||||
}
|
||||
|
||||
return await mailgunInstance.events().get(filter);
|
||||
} catch (err) {
|
||||
common.logging.error({err});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue