feat(nextcloud): Use v2 notification API

This commit is contained in:
Jiří Štefka 2025-01-14 22:56:39 +01:00
parent bf614f1e69
commit 8ed8cd1f84
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE
2 changed files with 1 additions and 2 deletions

View file

@ -4,7 +4,6 @@
"ntfy_token": "default_token", "ntfy_token": "default_token",
"nextcloud_base_url": "https://nextcloud.example.com", "nextcloud_base_url": "https://nextcloud.example.com",
"nextcloud_notification_path": "/ocs/v2.php/apps/notifications/api/v1/notifications",
"nextcloud_username": "user", "nextcloud_username": "user",
"nextcloud_password": "application_password", "nextcloud_password": "application_password",

View file

@ -97,7 +97,7 @@ def load_config(config_file: str) -> dict:
"ntfy_token": "default_token", "ntfy_token": "default_token",
"nextcloud_base_url": "https://nextcloud.example.com", "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_username": "user",
"nextcloud_password": "application_password", "nextcloud_password": "application_password",