Don't log pinball high score get

This commit is contained in:
Tanner Collin 2023-01-18 17:51:32 +00:00
parent fc62da9c5c
commit 8dcc61817f

View File

@ -19,11 +19,13 @@ class LoggingThrottle(throttling.BaseThrottle):
if path.startswith('/lockout/'):
return True
elif path == '/stats/sign/':
pass
pass # log this one
elif path.startswith('/stats/'):
return True
elif path == '/sessions/' and user == None:
return True
elif path in ['/pinball/high_scores/']:
return True
if request.data:
if type(request.data) is not dict: