logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 76585b92515290fda0526138efcfd51b870ca327
parent 3d28de2d9a7c83a76db92aaddc765a72839c0e65
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date:   Tue, 27 Dec 2022 20:22:05 +0000

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

Make notification settings work

See merge request pleroma/pleroma-fe!1726

Diffstat:

Msrc/services/api/api.service.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js @@ -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