Make notification settings work
This commit is contained in:
parent
e7f41fdca9
commit
01807446a8
@ -164,7 +164,7 @@ const updateNotificationSettings = ({ credentials, settings }) => {
|
|||||||
form.append(key, value)
|
form.append(key, value)
|
||||||
})
|
})
|
||||||
|
|
||||||
return fetch(NOTIFICATION_SETTINGS_URL, {
|
return fetch(`${NOTIFICATION_SETTINGS_URL}?${new URLSearchParams(settings)}`, {
|
||||||
headers: authHeaders(credentials),
|
headers: authHeaders(credentials),
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
body: form
|
body: form
|
||||||
|
Loading…
Reference in New Issue
Block a user