Skip to content

Commit

Permalink
fix reported-by
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Feb 6, 2025
1 parent cec7ff0 commit d881922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def report() -> Response:

r = {
'ip': data['ip'], 'cat': data['cat'].lower(), 'time': int(time()),
'v': 4 if valid_ip4(data['ip']) else 6, 'cmt': None, 'token': None, 'by': _get_src_ip,
'v': 4 if valid_ip4(data['ip']) else 6, 'cmt': None, 'token': None, 'by': _get_src_ip(),
}

if 'cmt' in data:
Expand Down

0 comments on commit d881922

Please sign in to comment.