diff --git a/config-example.json b/config-example.json index bf773e5..ea011b9 100644 --- a/config-example.json +++ b/config-example.json @@ -4,7 +4,6 @@ "ntfy_token": "default_token", "nextcloud_base_url": "https://nextcloud.example.com", - "nextcloud_notification_path": "/ocs/v2.php/apps/notifications/api/v1/notifications", "nextcloud_username": "user", "nextcloud_password": "application_password", diff --git a/main.py b/main.py index d6ce21b..e99d590 100644 --- a/main.py +++ b/main.py @@ -97,7 +97,7 @@ def load_config(config_file: str) -> dict: "ntfy_token": "default_token", "nextcloud_base_url": "https://nextcloud.example.com", - "nextcloud_notification_path": "/ocs/v2.php/apps/notifications/api/v1/notifications", + "nextcloud_notification_path": "/ocs/v2.php/apps/notifications/api/v2/notifications", "nextcloud_username": "user", "nextcloud_password": "application_password",