mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-19 03:14:00 +01:00
🐛 Fixed user fetching
This commit is contained in:
parent
747b446c7f
commit
1f8ca1c8b3
2 changed files with 3 additions and 1 deletions
|
@ -221,6 +221,8 @@ export const fetchUser = async (
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
blue_business_profile_image_shape_enabled: true,
|
blue_business_profile_image_shape_enabled: true,
|
||||||
responsive_web_graphql_exclude_directive_enabled: true,
|
responsive_web_graphql_exclude_directive_enabled: true,
|
||||||
|
responsive_web_graphql_skip_user_profile_image_extensions_enabled: false,
|
||||||
|
responsive_web_graphql_timeline_navigation_enabled: false,
|
||||||
verified_phone_label_enabled: true
|
verified_phone_label_enabled: true
|
||||||
})
|
})
|
||||||
)}`,
|
)}`,
|
||||||
|
|
|
@ -313,7 +313,7 @@ test('API fetch poll Tweet', async () => {
|
||||||
expect(choices[3].percentage).toEqual(58);
|
expect(choices[3].percentage).toEqual(58);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('API fetch user', async () => {
|
test.only('API fetch user', async () => {
|
||||||
const result = await cacheWrapper(
|
const result = await cacheWrapper(
|
||||||
new Request('https://api.fxtwitter.com/wazbat', {
|
new Request('https://api.fxtwitter.com/wazbat', {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
|
|
Loading…
Add table
Reference in a new issue