From 982c5eaf8d508026ed79d76ad461ced51ce6bdf4 Mon Sep 17 00:00:00 2001 From: flisk Date: Tue, 30 May 2023 12:00:41 +0200 Subject: [PATCH] request relationships when fetching blocks & mutes --- src/services/api/api.service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index 947e9da9..f1a0767c 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -66,8 +66,8 @@ const MASTODON_LIST_TIMELINE_URL = id => `/api/v1/timelines/list/${id}` const MASTODON_LIST_ACCOUNTS_URL = id => `/api/v1/lists/${id}/accounts` const MASTODON_TAG_TIMELINE_URL = tag => `/api/v1/timelines/tag/${tag}` const MASTODON_BOOKMARK_TIMELINE_URL = '/api/v1/bookmarks' -const MASTODON_USER_BLOCKS_URL = '/api/v1/blocks/' -const MASTODON_USER_MUTES_URL = '/api/v1/mutes/' +const MASTODON_USER_BLOCKS_URL = '/api/v1/blocks/?with_relationships=true' +const MASTODON_USER_MUTES_URL = '/api/v1/mutes/?with_relationships=true' const MASTODON_BLOCK_USER_URL = id => `/api/v1/accounts/${id}/block` const MASTODON_UNBLOCK_USER_URL = id => `/api/v1/accounts/${id}/unblock` const MASTODON_MUTE_USER_URL = id => `/api/v1/accounts/${id}/mute`