Fix logical issue

This commit is contained in:
amcmanu3 2023-06-05 18:20:37 -04:00
parent 4ef31864ca
commit ad7ba9d6a7

View File

@ -46,7 +46,7 @@ class ApiServersServerFilesIndexHandler(BaseApiHandler):
not in self.controller.server_perms.get_user_id_permissions_list(
auth_data[4]["user_id"], server_id
)
or EnumPermissionsServer.BACKUP
or not EnumPermissionsServer.BACKUP
in self.controller.server_perms.get_user_id_permissions_list(
auth_data[4]["user_id"], server_id
)