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 <khareyash05@gmail.com>

* remove extra imports

Signed-off-by: Yash Khare <khareyash05@gmail.com>

* chore: update body for github login

Signed-off-by: shivamsouravjha <2019145@iiitdmj.ac.in>

* chore: update body for github login

Signed-off-by: shivamsouravjha <2019145@iiitdmj.ac.in>

---------

Signed-off-by: Yash Khare <khareyash05@gmail.com>
Signed-off-by: shivamsouravjha <2019145@iiitdmj.ac.in>
Co-authored-by: shivamsouravjha <2019145@iiitdmj.ac.in>
  • 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.