We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d36d493 commit 83e808fCopy full SHA for 83e808f
browserstack-report-action/src/services/ReportService.js
@@ -6,15 +6,11 @@ const mockService = require('./MockReportService');
6
class ReportService {
7
constructor(authHeader, isTestMode = false) {
8
this.authHeader = authHeader;
9
- this.apiUrl = 'https://api-observability.browserstack.com/ext/v1/builds/buildReport';
10
- this.isTestMode = isTestMode;
+ this.apiUrl = 'https://api-observability-preprod.bsstag.com/ext/v1/builds/buildReport';
+ // this.isTestMode = isTestMode;
11
}
12
13
async fetchReport(params) {
14
- if (this.isTestMode) {
15
- return mockService.getMockResponse();
16
- }
17
-
18
try {
19
const response = await axios.post(this.apiUrl, params, {
20
headers: {
0 commit comments