Skip to content

Commit

Permalink
Fix job_files decorators for TUS 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jan 16, 2024
1 parent 0953118 commit 686bc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/webapps/galaxy/api/job_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def create(self, trans, job_id, payload, **kwargs):
pass
return {"message": "ok"}

@expose_api_raw_anonymous_and_sessionless
@expose_api_anonymous_and_sessionless
def tus_patch(self, trans, **kwds):
"""
Exposed as PATCH /api/job_files/resumable_upload.
Expand Down Expand Up @@ -155,7 +155,7 @@ def tus_patch(self, trans, **kwds):
"""
return None

@expose_api_raw_anonymous_and_sessionless
@expose_api_anonymous_and_sessionless
def tus_hooks(self, trans, **kwds):
"""No-op but if hook specified the way we do for user upload it would hit this action.
Expand Down

0 comments on commit 686bc92

Please sign in to comment.