1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-10 22:00:05 +00:00

chore(git): Merge branch 'master' of https://github.com/sasjs/adapter into macro-vars

This commit is contained in:
Yury Shkoda
2021-06-08 13:31:46 +03:00
11 changed files with 2874 additions and 2788 deletions

View File

@@ -725,13 +725,11 @@ export class SASViyaApiClient {
let formData
if (typeof FormData === 'undefined') {
formData = new NodeFormData()
formData.append('grant_type', 'authorization_code')
formData.append('code', authCode)
} else {
formData = new FormData()
formData.append('grant_type', 'authorization_code')
formData.append('code', authCode)
}
formData.append('grant_type', 'authorization_code')
formData.append('code', authCode)
const authResponse = await this.requestClient
.post(