From 23c05bb3b4c23a70f1283718ce0828d798587b29 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Mon, 10 Jan 2022 17:00:56 +0100 Subject: [PATCH] fix: var name --- members_lumbung_space/config.py | 2 +- members_lumbung_space/nextcloud.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/members_lumbung_space/config.py b/members_lumbung_space/config.py index 0f12ec7..fc4b26c 100644 --- a/members_lumbung_space/config.py +++ b/members_lumbung_space/config.py @@ -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") diff --git a/members_lumbung_space/nextcloud.py b/members_lumbung_space/nextcloud.py index 4f18cb1..0843fe2 100644 --- a/members_lumbung_space/nextcloud.py +++ b/members_lumbung_space/nextcloud.py @@ -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",