Merge branch 'tusooa/notif-settings' into 'develop'
Make notification settings work See merge request pleroma/pleroma-fe!1726
This commit is contained in:
commit
76585b9251
|
@ -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