Make notification settings work

This commit is contained in:
tusooa 2022-12-27 13:46:50 -05:00
parent e7f41fdca9
commit 01807446a8
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ const updateNotificationSettings = ({ credentials, settings }) => {
form.append(key, value)
})
return fetch(NOTIFICATION_SETTINGS_URL, {
return fetch(`${NOTIFICATION_SETTINGS_URL}?${new URLSearchParams(settings)}`, {
headers: authHeaders(credentials),
method: 'PUT',
body: form