From d02302c7b236d8fbb230e16923ceef31a0d2c2a4 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Tue, 13 Jun 2023 23:54:02 +0300 Subject: [PATCH] fix: BackupConfiguration argument order --- selfprivacy_api/graphql/queries/backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfprivacy_api/graphql/queries/backup.py b/selfprivacy_api/graphql/queries/backup.py index 4d41c36..97b4682 100644 --- a/selfprivacy_api/graphql/queries/backup.py +++ b/selfprivacy_api/graphql/queries/backup.py @@ -15,13 +15,13 @@ class BackupConfiguration: provider: BackupProvider # When server is lost, the app should have the key to decrypt backups on a new server encryption_key: str + # False when repo is not initialized and not ready to be used + is_initialized: bool # If none, autobackups are disabled autobackup_period: typing.Optional[int] = None # Bucket name for Backblaze, path for some other providers location_name: typing.Optional[str] = None location_id: typing.Optional[str] = None - # False when repo is not initialized and not ready to be used - is_initialized: bool @strawberry.type