diff options
| author | Kit La Touche <kit@transneptune.net> | 2025-10-08 22:27:51 -0400 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2025-10-08 22:27:51 -0400 |
| commit | 13e05d7e048c62845466b0be41402985d7f3f38b (patch) | |
| tree | 783c77b44fbed8dd99c88aa4461f4722ca6ec681 /ui/lib/apiServer.js | |
| parent | 9ca03b7044b820a1fe4b6ab8fc690fb6c5312c73 (diff) | |
Adjust endpoints to match server expectationswip/push-notif
Diffstat (limited to 'ui/lib/apiServer.js')
| -rw-r--r-- | ui/lib/apiServer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/apiServer.js b/ui/lib/apiServer.js index 295c99a..79fbd17 100644 --- a/ui/lib/apiServer.js +++ b/ui/lib/apiServer.js @@ -51,7 +51,7 @@ export async function acceptInvite(inviteId, name, password) { } export async function createPushSubscription(data) { - return await apiServer.post('/push', { data }).catch(responseError); + return await apiServer.post('/push/subscribe', { data }).catch(responseError); } export async function deletePushSubscription(data) { |
