Revert change
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
|||||||
getAppLanguageAsContentLanguage,
|
getAppLanguageAsContentLanguage,
|
||||||
getContentLanguages,
|
getContentLanguages,
|
||||||
} from '#/state/preferences/languages'
|
} from '#/state/preferences/languages'
|
||||||
import {getAnalyticsHeaders} from '#/analytics/utils'
|
|
||||||
import {type FeedAPI, type FeedAPIResponse} from './types'
|
import {type FeedAPI, type FeedAPIResponse} from './types'
|
||||||
import {createBskyTopicsHeader, isBlueskyOwnedFeed} from './utils'
|
import {createBskyTopicsHeader, isBlueskyOwnedFeed} from './utils'
|
||||||
|
|
||||||
@@ -63,15 +62,12 @@ export class CustomFeedAPI implements FeedAPI {
|
|||||||
limit,
|
limit,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
headers: isBlueskyOwned
|
headers: {
|
||||||
? {
|
...(isBlueskyOwned
|
||||||
...createBskyTopicsHeader(this.userInterests),
|
? createBskyTopicsHeader(this.userInterests)
|
||||||
...getAnalyticsHeaders(),
|
: {}),
|
||||||
'Accept-Language': contentLangs,
|
'Accept-Language': contentLangs,
|
||||||
}
|
},
|
||||||
: {
|
|
||||||
'Accept-Language': contentLangs,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
: await loggedOutFetch({...this.params, cursor, limit})
|
: await loggedOutFetch({...this.params, cursor, limit})
|
||||||
|
|||||||
Reference in New Issue
Block a user