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.
2 parents d12f90e + 3cda966 commit 48158fcCopy full SHA for 48158fc
index.js
@@ -337,7 +337,7 @@ function logError(context, error){
337
page++;
338
const json = JSON.parse(response.body);
339
nbResults = json.hotspots.length;
340
- data.hotspotKeys = json.hotspots.map(hotspot => hotspot.key);
+ data.hotspotKeys.push(...json.hotspots.map(hotspot => hotspot.key));
341
} catch (error) {
342
logError("getting hotspots list", error);
343
return null;
0 commit comments