Skip to content

Commit

Permalink
Adapts generate_blob_shared_access_signature to new parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Baltz committed Jul 8, 2019
1 parent 443cf95 commit c0408c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storages/backends/azure_storage.py
Expand Up @@ -257,7 +257,7 @@ def url(self, name, expire=None):
make_blob_url_kwargs = {}
if expire:
sas_token = self.service.generate_blob_shared_access_signature(
self.azure_container, name, BlobPermissions.READ, expiry=self._expire_at(expire))
self.azure_container, name, permission=BlobPermissions.READ, expiry=self._expire_at(expire))
make_blob_url_kwargs['sas_token'] = sas_token

if self.azure_protocol:
Expand Down

0 comments on commit c0408c5

Please sign in to comment.