mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
Log when and why an email was not sent in email_logs
This commit is contained in:
@ -20,7 +20,7 @@ Discourse.EmailLog.reopenClass({
|
||||
|
||||
findAll: function(filter) {
|
||||
var result = Em.A();
|
||||
Discourse.ajax("/admin/email/logs.json", {
|
||||
Discourse.ajax("/admin/email/" + (filter === 'skipped' ? 'skipped' : 'logs') + ".json", {
|
||||
data: { filter: filter }
|
||||
}).then(function(logs) {
|
||||
_.each(logs,function(log) {
|
||||
|
Reference in New Issue
Block a user