request relationships when fetching blocks & mutes #319

Closed
flisk wants to merge 1 commits from flisk/akkoma-fe:fix-mute-block-button-states into develop
1 changed files with 2 additions and 2 deletions

View File

@ -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`