logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 6a2f4270727913b8e5d4670b5b3bbc3f57f51ec5
parent dc9951d400fc6f4e9080d29589bf186fb081f4f6
Author: Sean King <seanking2919@protonmail.com>
Date:   Sat,  6 Aug 2022 22:15:34 -0600

Fix lint stuff

Diffstat:

Msrc/services/api/api.service.js2+-
Msrc/services/notifications_fetcher/notifications_fetcher.service.js2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js @@ -1352,7 +1352,7 @@ const setReportState = ({ id, state, credentials }) => { return fetch(PLEROMA_ADMIN_REPORTS, { headers: { ...authHeaders(credentials), - 'Accept': 'application/json', + Accept: 'application/json', 'Content-Type': 'application/json' }, method: 'PATCH', diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js @@ -24,7 +24,7 @@ const fetchAndUpdate = ({ store, credentials, older = false, since }) => { const timelineData = rootState.statuses.notifications const hideMutedPosts = getters.mergedConfig.hideMutedPosts - args['includeTypes'] = mastoApiNotificationTypes + args.includeTypes = mastoApiNotificationTypes args.withMuted = !hideMutedPosts args.timeline = 'notifications'