Skip to content

Commit

Permalink
Fix variable name in sync_user_traffic_task
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Dec 21, 2023
1 parent 51ba9d3 commit e82293e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/sspanel/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def sync_user_traffic_task(node_id, data):
# 记录用户占用节点流量
if user_id in node_occurred_user_ids:
UserProxyNodeOccupancy.check_and_incr_traffic(
user_id=user_id, node_id=node_id, traffic=d + u
user_id=user_id, proxy_node_id=node_id, traffic=d + u
)
else:
# 个人流量增量
Expand Down

0 comments on commit e82293e

Please sign in to comment.