Skip to content
Snippets Groups Projects
Commit acaccab8 authored by Martin Juhás's avatar Martin Juhás
Browse files

dev: remove specific query from logs

No API changes

Closes #221
parent 2274ec53
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,8 @@ def protected(required_group: User.AuthGroup):
raise AuthenticationFailed("Authentication failed")
log_text += f" | username: {user.username}"
logger.info(log_text)
if action_name != "Query.resolve_exercise_time_left":
logger.info(log_text)
if user.group >= required_group:
return func(*args, **kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment