Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Sep 30, 2024
1 parent a64af85 commit e979cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chord_metadata_service/chord/api_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def dats(self, request: DrfRequest, *_args, **_kwargs):

authz.mark_authz_done(request)

return response_optionally_as_attachment(dataset.dats_file, f"{dataset.identifier}_dats.json")
return response_optionally_as_attachment(request, dataset.dats_file, f"{dataset.identifier}_dats.json")

@action(detail=True, methods=["get"])
def resources(self, request, *_args, **_kwargs):
Expand Down

0 comments on commit e979cc5

Please sign in to comment.