Attached the token refresh to the cardbox stats refresh since that runs in the background periodically. Eventually this can also be added to the chat long poll.
Also fixed some syntax errors in cardbox views.py and changed some long concatenated strings (SQL queries) to multiline strings/fstrings
Attached the token refresh to the cardbox stats refresh since that runs in the background periodically. Eventually this can also be added to the chat long poll.
Also fixed some syntax errors in cardbox views.py and changed some long concatenated strings (SQL queries) to multiline strings/fstrings