forked from MarseyWorld/MarseyWorld
fix 500 error on muting
parent
08fc3b4f41
commit
223909a2f8
|
@ -1246,7 +1246,7 @@ def mute_user(v:User, user_id):
|
|||
)
|
||||
g.db.add(user)
|
||||
g.db.add(ma)
|
||||
check_for_alts()
|
||||
check_for_alts(user)
|
||||
|
||||
return {"message": f"@{user.username} has been muted!"}
|
||||
|
||||
|
|
Loading…
Reference in New Issue