Fix account cooldown stats contract
This commit is contained in:
1 parent
e9083281a8
commit
742c06d0c4
2 files changed
+10
-2
No files matched your search
@@ -80,7 +80,13 @@ export function createStatsRouter(ctx: WebContext): Router {
|
||||
hourlyResetAt: timers.hourlyResetAt,
|
||||
messagesRemaining: timers.messagesRemaining,
|
||||
actionableReplies: priority?.actionableBacklog ?? 0,
|
||||
invitationCooldown: accountCooldown,
|
||||
invitationCooldown: accountCooldown
|
||||
? {
|
||||
until: accountCooldown.until,
|
||||
reason: accountCooldown.reason,
|
||||
redditCode: accountCooldown.redditCode,
|
||||
}
|
||||
: null,
|
||||
failure: snapshot?.failure ?? null,
|
||||
};
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user