Patch encoding header issue for some integrations for getting their apps

This commit is contained in:
Tuan Dang
2023-02-08 01:28:46 +07:00
parent 747cc1134c
commit aba8feb985
4 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -322,7 +322,8 @@ const exchangeCodeGithub = async ({ code }: { code: string }) => {
redirect_uri: `${SITE_URL}/integrations/github/oauth2/callback`
},
headers: {
Accept: 'application/json'
'Accept': 'application/json',
'Accept-Encoding': 'application/json'
}
})
).data;