diff --git a/manifest.json b/manifest.json index 4c32b1c..8685bdb 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Vibinex Code Review", - "version": "1.1.5", + "version": "1.1.6", "manifest_version": 3, "description": "Personalization and context for pull requests on GitHub & Bitbucket", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsRm6EaBdHDBxVjt9o9WKeL9EDdz1X+knDAU5uoZaRsXTmWjslhJN9DhSd7/Ys4aJOSN+s+5/HnIHcKV63P4GYaUM5FhETHEWORHlwIgjcV/1h6wD6bNbvXi06gtiygE+yMrCzzD93/Z+41XrwMElYiW2U5owNpat2Yfq4p9FDX1uBJUKsRIMp6LbRQla4vAzH/HMUtHWmeuUsmPVzcq1b6uB1QmuJqIQ1GrntIHw3UBWUlqRZ5OtxI1DCP3knglvqz26WT5Pc4GBDNlcI9+3F0vhwqwHqrdyjZpIKZ7iaQzcrovOqUKuXs1J3hDtXq8WoJELIqfIisY7rhAvq6b8jQIDAQAB", diff --git a/scripts/orchestrator.js b/scripts/orchestrator.js index 4d9b5ab..44782f5 100644 --- a/scripts/orchestrator.js +++ b/scripts/orchestrator.js @@ -57,8 +57,7 @@ const orchestrator = async (tabUrl, websiteUrl, userId) => { "repo_name": repoName, "user_id": userId, "pr_number": prNumber, - "repo_provider": 'github', - "is_github": true + "repo_provider": 'github' }; let query_params = { type: "file" }; const response = await apiCallOnprem(url, body, query_params); @@ -119,8 +118,7 @@ const orchestrator = async (tabUrl, websiteUrl, userId) => { "repo_name": repoName, "user_id": userId, "pr_number": prNumber, - "repo_provider": 'bitbucket', - "is_github": false + "repo_provider": 'bitbucket' }; let query_params = { type: "file" }; const response = await apiCallOnprem(url, body, query_params); diff --git a/scripts/repoHandlers.js b/scripts/repoHandlers.js index 6930fc6..59e5a72 100644 --- a/scripts/repoHandlers.js +++ b/scripts/repoHandlers.js @@ -12,11 +12,11 @@ async function getTrackedRepos(owner, userId, repoHost) { let url = '' switch (repoHost) { case 'github': - body = { owner: owner, userId: userId, provider: 'github' } + body = { owner: owner, user_id: userId, provider: 'github' } url = `${websiteUrl}/api/extension/setup`; break; case 'bitbucket': - body = { owner: owner, userId: userId, provider: 'bitbucket' } + body = { owner: owner, user_id: userId, provider: 'bitbucket' } url = `${websiteUrl}/api/extension/setup`; break; default: