Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jleaniz committed Dec 17, 2024
1 parent b6ba4a5 commit fd5f5fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/datastores/sql/crud/authz.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ async def wrapper(*args, **kwargs):
folder_id = kwargs.get("folder_id")
file_id = kwargs.get("file_id")
current_user = kwargs.get("current_user")
if not folder_id and not file_id:
raise_authorization_error(
http_exception, error_message or "Invalid folder or file.")

if folder_id:
folder = db.get(Folder, folder_id)
Expand Down

0 comments on commit fd5f5fb

Please sign in to comment.