Merge branch 'tusooa/notif-settings' into 'develop'

Make notification settings work

See merge request pleroma/pleroma-fe!1726
This commit is contained in:
HJ 2022-12-27 20:22:05 +00:00
commit 76585b9251

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