Skip to content

Commit

Permalink
fix: missing user_admin on discord.report_status_change
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintShit committed Feb 14, 2024
1 parent 2ec5852 commit ab41c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def status_change(
elif status == UserStatus.active:
notify(UserEnabled(username=username, action=Notification.Type.user_enabled, user=user, by=by))
try:
discord.report_status_change(username, status)
discord.report_status_change(username, status, user_admin)
except Exception:
pass

Expand Down

0 comments on commit ab41c53

Please sign in to comment.