fix: var name
continuous-integration/drone/push Build is passing Details

This commit is contained in:
cellarspoon 2022-01-10 17:00:56 +01:00
parent 2b901714ad
commit 23c05bb3b4
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
2 changed files with 2 additions and 2 deletions

View File

@ -44,5 +44,5 @@ AUTOMATICALLY_LOG_IN = environ.get("AUTOMATICALLY_LOG_IN", False)
# Nextcloud integration
NEXTCLOUD_API_BASE_URL = environ.get("NEXTCLOUD_API_BASE_URL")
NEXTCLOUD_APP_PASSWORD = environ.get("NEXTCLOUD_APP_PASSWORD")
NEXTCLOUD_APP_SECRET = environ.get("NEXTCLOUD_APP_SECRET")
NEXTCLOUD_USER = environ.get("NEXTCLOUD_USER")

View File

@ -12,7 +12,7 @@ async def init_resource_map(app):
)
nextcloud = owncloud.Client(f"https://{NEXTCLOUD_API_BASE_URL}")
nextcloud.login(NEXTCLOUD_USER, NEXTCLOUD_APP_PASSWORD)
nextcloud.login(NEXTCLOUD_USER, NEXTCLOUD_APP_SECRET)
await app.state.redis.set(
"resource_map",