mirror of
https://iceshrimp.dev/iceshrimp/akkoma-fe.git
synced 2025-12-13 07:23:03 +01:00
Properly pass credentials for follow requests and followed hashtags
This commit is contained in:
parent
c147c2aeb3
commit
e8896fad15
1 changed files with 2 additions and 2 deletions
|
|
@ -1588,7 +1588,7 @@ const getFollowedHashtags = ({ credentials, pagination: savedPagination }) => {
|
|||
const url = `${MASTODON_FOLLOWED_TAGS_URL}?${queryParams.toString()}`
|
||||
let pagination = {};
|
||||
return fetch(url, {
|
||||
credentials
|
||||
headers: authHeaders(credentials),
|
||||
}).then((data) => {
|
||||
pagination = parseLinkHeaderPagination(data.headers.get('Link'), {
|
||||
flakeId: false
|
||||
|
|
@ -1610,7 +1610,7 @@ const getFollowRequests = ({ credentials, pagination: savedPagination }) => {
|
|||
const url = `${MASTODON_FOLLOW_REQUESTS_URL}?${queryParams.toString()}`
|
||||
let pagination = {};
|
||||
return fetch(url, {
|
||||
credentials
|
||||
headers: authHeaders(credentials),
|
||||
}).then((data) => {
|
||||
pagination = parseLinkHeaderPagination(data.headers.get('Link'), { flakeId: true });
|
||||
return data.json()
|
||||
|
|
|
|||
Loading…
Reference in a new issue