Ver código fonte

fix the wrong env variable AZURE_BLOB_CONTAINER_NAME (#4455)

tags/0.6.9
Jyong 1 ano atrás
pai
commit
bdd409970f
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      api/extensions/storage/azure_storage.py

+ 1
- 1
api/extensions/storage/azure_storage.py Ver arquivo

@@ -14,7 +14,7 @@ class AzureStorage(BaseStorage):
def __init__(self, app: Flask):
super().__init__(app)
app_config = self.app.config
self.bucket_name = app_config.get('AZURE_STORAGE_CONTAINER_NAME')
self.bucket_name = app_config.get('AZURE_BLOB_CONTAINER_NAME')
sas_token = generate_account_sas(
account_name=app_config.get('AZURE_BLOB_ACCOUNT_NAME'),
account_key=app_config.get('AZURE_BLOB_ACCOUNT_KEY'),

Carregando…
Cancelar
Salvar