mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
927 - Updates to math in Dashboard area
This commit is contained in:
@@ -301,7 +301,10 @@ def init_app(application):
|
||||
remaining_global_messages = global_limit - global_messages_count.get(
|
||||
"count"
|
||||
)
|
||||
return {"daily_global_messages_remaining": remaining_global_messages}
|
||||
return {
|
||||
"daily_global_messages_remaining": remaining_global_messages,
|
||||
"global_message_limit": global_limit
|
||||
}
|
||||
|
||||
@application.before_request
|
||||
def record_start_time():
|
||||
|
||||
Reference in New Issue
Block a user