Skip to content

Commit

Permalink
chore: update body for github login
Browse files Browse the repository at this point in the history
Signed-off-by: shivamsouravjha <[email protected]>
  • Loading branch information
shivamsouravjha committed Oct 29, 2024
1 parent 0911ce6 commit 6143ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SignIn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function extractID(output: any) {
interface AuthReq {
GitHubToken: string;
InstallationID: string;
platform: string;
Platform: string;
}

interface AuthResp {
Expand All @@ -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);
Expand Down

0 comments on commit 6143ba2

Please sign in to comment.