diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9971cb9..09390a2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,6 +20,7 @@ jobs: envkey_SESSIONS_SECRET_KEY: ${{ secrets.SESSION_SECRET_KEY }} envkey_CLIENT_IDENTIFIER: com.pullflow.vscode envkey_PULLFLOW_APP_URL: https://app.pullflow.com + envkey_PULLFLOW_TELEMETRY_URL: https://collector.pullflow.cloud - name: Build, compile and test run: | diff --git a/.vscode/launch.json b/.vscode/launch.json index 9cab3c5..7c181ad 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,7 +3,7 @@ // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 { - "version": "1.2.3", + "version": "1.3.0", "configurations": [ { "name": "Run Extension", diff --git a/package.json b/package.json index 1956dd6..4155e63 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publisher": "Pullflow", "displayName": "Pullflow", "description": "Code review collaboration across GitHub, Slack, and VS Code.", - "version": "1.2.3", + "version": "1.3.0", "preview": true, "license": "MIT", "engines": { diff --git a/src/utils/pullflowApi.ts b/src/utils/pullflowApi.ts index 0e05f6a..c4dbe3c 100644 --- a/src/utils/pullflowApi.ts +++ b/src/utils/pullflowApi.ts @@ -15,10 +15,12 @@ export class PullflowApi { this.options = { method, headers: { - authorization: accessToken ?? '', + authorization: `Bearer ${accessToken ?? ''}`, version: context.extension.packageJSON.version, Accept: 'application/json, text/plain', 'Content-Type': 'application/json;charset=UTF-8', + 'auth-provider': 'custom-auth', + 'event-provider': 'extension', }, } this.apiUrl = AppConfig.pullflow.graphqlUrl