Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions directlineclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
var promise = new Promise(function(resolve, reject) {
var polling = function() {
if (retries < maxRetries) {
logger.log(`Poll messages request: ${JSON.stringify(getMessagesOptions)}`); // CodeQL [SM04580] this is a closed api that is only accessible to an internal testing service, so the ssrf risk is mitigated
axios.request(getMessagesOptions)
logger.log(`Poll messages request: ${JSON.stringify(getMessagesOptions)}`);
axios.request(getMessagesOptions) // CodeQL [SM04580] this is a closed api that is only accessible to an internal testing service, so the ssrf risk is mitigated
.then(function({ data }) {
messages = data.activities;
logger.log(`Got ${messages.length} total activities (including user's response)`);
Expand Down Expand Up @@ -143,3 +143,4 @@