Skip to content

Commit 931e8bf

Browse files
committed
fixes
1 parent 754271d commit 931e8bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bin/helpers/atsHelper.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ exports.getTurboScaleGridDetails = async (bsConfig, args, rawArgs) => {
6363
} catch (e) {
6464
responseData = {};
6565
}
66-
if(resp.status != 200) {
66+
if(response.status != 200) {
6767
logger.warn(`Warn: Get Automate TurboScale Details Request failed with status code ${response.status}`);
6868
utils.sendUsageReport(bsConfig, args, responseData["error"], Constants.messageTypes.ERROR, 'get_ats_details_failed', null, rawArgs);
6969
resolve({});
7070
}
7171
resolve(responseData);
7272
}).catch(error => {
7373
logger.warn(utils.formatRequest(error, null, null));
74-
utils.sendUsageReport(bsConfig, args, err, Constants.messageTypes.ERROR, 'get_ats_details_failed', null, rawArgs);
74+
utils.sendUsageReport(bsConfig, args, error, Constants.messageTypes.ERROR, 'get_ats_details_failed', null, rawArgs);
7575
resolve({});
7676
});
7777
});

bin/helpers/config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"dashboardUrl": "https://automate.browserstack.com/dashboard/v2/builds/",
55
"usageReportingUrl": "https://eds.browserstack.com:443/send_event_cy_internal",
66
"localTestingListUrl": "https://www.browserstack.com/local/v1/list",
7-
"turboScaleUrl": "https://grid.browserstack.com/packages/cypress",
8-
"turboScaleAPIUrl": "https://api.browserstack.com/automate-turboscale/v1"
7+
"turboScaleUrl": "https://grid-api-devhst.bsstag.com/packages/cypress",
8+
"turboScaleAPIUrl": "https://grid-api-devhst.bsstag.com/automate-turboscale/v1"
99
}

0 commit comments

Comments
 (0)