forked from e621ng/e621ng
[Discord] Fix counts for AIBUR report
This commit is contained in:
parent
43ade626e0
commit
192fb2c1ed
@ -46,7 +46,7 @@ module DiscordReport
|
||||
def counting(clazz)
|
||||
{
|
||||
pending: clazz.pending.count,
|
||||
handled: clazz.where(status: %w[approved active processing queued deleted]).where("created_at >= ? AND forum_topic_id IS NOT NULL", 1.day.ago).count,
|
||||
handled: clazz.where(status: %w[approved active processing queued deleted]).where("updated_at >= ? AND forum_topic_id IS NOT NULL", 1.day.ago).count,
|
||||
}
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user