Don't log pinball high score get

master
Tanner Collin 1 year ago
parent fc62da9c5c
commit 8dcc61817f
  1. 4
      apiserver/apiserver/api/throttles.py

@ -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:

Loading…
Cancel
Save