Skip to content

Commit

Permalink
feat: platform flag (#82)
Browse files Browse the repository at this point in the history
* feat: Platform VSCODE flag

Signed-off-by: Yash Khare <[email protected]>

* remove extra imports

Signed-off-by: Yash Khare <[email protected]>

* chore: update body for github login

Signed-off-by: shivamsouravjha <[email protected]>

* chore: update body for github login

Signed-off-by: shivamsouravjha <[email protected]>

---------

Signed-off-by: Yash Khare <[email protected]>
Signed-off-by: shivamsouravjha <[email protected]>
Co-authored-by: shivamsouravjha <[email protected]>
  • Loading branch information
khareyash05 and shivamsouravjha authored Oct 29, 2024
1 parent 05e1eea commit e42257c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SignIn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ function extractID(output: any) {
interface AuthReq {
GitHubToken: string;
InstallationID: string;
Platform: string;
}

interface AuthResp {
Expand All @@ -328,6 +329,7 @@ export async function validateFirst(token: string, serverURL: string): Promise<{
// extract string from promise
const requestBody: AuthReq = {
GitHubToken: token,
Platform: "vscode",
InstallationID: installationID,
};
console.log("Request Body:", requestBody);
Expand Down

0 comments on commit e42257c

Please sign in to comment.