From 6a2f4270727913b8e5d4670b5b3bbc3f57f51ec5 Mon Sep 17 00:00:00 2001 From: Sean King Date: Sat, 6 Aug 2022 22:15:34 -0600 Subject: [PATCH] Fix lint stuff --- src/services/api/api.service.js | 2 +- .../notifications_fetcher/notifications_fetcher.service.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index df065cab5b..4a15b14b5b 100644 --- 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 index 95138a160b..6c2472107d 100644 --- 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'