Fix typing issue causing IDs to not be ==

This commit is contained in:
amcmanu3 2024-07-08 10:53:38 -04:00
parent 522223a36f
commit 539c07be9d

View File

@ -217,7 +217,7 @@ class ApiUsersUserKeyHandler(BaseApiHandler):
)
if (
target_key.user_id != auth_data[4]["user_id"]
str(target_key.user_id) != str(auth_data[4]["user_id"])
and not auth_data[4]["superuser"]
):
return self.finish_json(