From 6143ba219224806f05e9fe88b090fb3d66cfbc02 Mon Sep 17 00:00:00 2001 From: shivamsouravjha <2019145@iiitdmj.ac.in> Date: Tue, 29 Oct 2024 20:32:11 +0530 Subject: [PATCH] chore: update body for github login Signed-off-by: shivamsouravjha <2019145@iiitdmj.ac.in> --- src/SignIn.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SignIn.ts b/src/SignIn.ts index f0235ea..37a6aaf 100644 --- a/src/SignIn.ts +++ b/src/SignIn.ts @@ -311,7 +311,7 @@ function extractID(output: any) { interface AuthReq { GitHubToken: string; InstallationID: string; - platform: string; + Platform: string; } interface AuthResp { @@ -329,7 +329,7 @@ export async function validateFirst(token: string, serverURL: string): Promise<{ // extract string from promise const requestBody: AuthReq = { GitHubToken: token, - platform: "vscode", + Platform: "vscode", InstallationID: installationID, }; console.log("Request Body:", requestBody);