Skip to content

Commit

Permalink
fix: update app config values (2239589) (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
samrum committed May 30, 2021
1 parent fea1f2e commit f0eb7d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/RequestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class RequestService {
}

private getApiUrlForPath(path: string): string {
return `${onStarAppConfig.serviceUrl}/v1${path}`;
return `${onStarAppConfig.serviceUrl}/api/v1${path}`;
}

private getCommandUrl(command: string): string {
Expand Down
6 changes: 3 additions & 3 deletions src/onStarAppConfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"appId": "OMB_CVY_AND_5A1",
"appSecret": "UGzw6PB8wpKANvnYewmSREXpxtbBkjjmGP6s",
"appId": "OMB_CVY_AND_5C0",
"appSecret": "Z9s9fP4cZupHW8vB8mRHrDWZgMeuh9QnfWZZ",
"optionalClientScope": "",
"requiredClientScope": "onstar gmoc commerce user_trailer",
"serviceUrl": "https://api.gm.com/api",
"serviceUrl": "https://api.gm.com",
"userAgent": "Mozilla/5.0 (Linux; U; Android 9; en-US; Google Pixel 2 Build/PI)"
}

0 comments on commit f0eb7d1

Please sign in to comment.