feat(nextcloud): Use v2 notification API
This commit is contained in:
parent
bf614f1e69
commit
8ed8cd1f84
2 changed files with 1 additions and 2 deletions
|
@ -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",
|
||||||
|
|
2
main.py
2
main.py
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue