From a7640ecd92af91bb59c3c1510f4d6ca60920480e Mon Sep 17 00:00:00 2001 From: Leonardo Viada Date: Wed, 1 May 2024 12:55:04 +0200 Subject: [PATCH] Fixed typo on json token file access key --- sdk/ts/quickstart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/ts/quickstart.ts b/sdk/ts/quickstart.ts index cfedb62..d5624c9 100644 --- a/sdk/ts/quickstart.ts +++ b/sdk/ts/quickstart.ts @@ -7,7 +7,7 @@ export async function getFirstCompanySuppliers() { let json = JSON.parse(rawdata.toString()); // Configure OAuth2 access token for authorization: const apiConfig = new Configuration({ - accessToken: json["access_token"] + accessToken: json["accessToken"] }); // Retrieve the first company id