Skip to content

Commit

Permalink
Used document unique name to generate downloadable url on localhost u…
Browse files Browse the repository at this point in the history
…sing minio
  • Loading branch information
252afh authored and gecBurton committed May 16, 2024
1 parent 9d0d1d2 commit 49403ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_app/redbox_app/redbox_core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def url(self) -> URL:
ClientMethod="get_object",
Params={
"Bucket": settings.AWS_STORAGE_BUCKET_NAME,
"Key": self.name,
"Key": self.unique_name,
},
)
return URL(url)
Expand Down

0 comments on commit 49403ae

Please sign in to comment.