screenshotone-api-sdk
Advanced tools
Comparing version 1.0.30 to 1.0.31
@@ -614,3 +614,8 @@ "use strict"; | ||
for (const value of values) { | ||
this.query.append(key, value); | ||
if (values.length == 1) { | ||
this.query.set(key, value); | ||
} | ||
else { | ||
this.query.append(key, value); | ||
} | ||
} | ||
@@ -617,0 +622,0 @@ } |
{ | ||
"name": "screenshotone-api-sdk", | ||
"homepage": "https://screenshotone.com", | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"description": "Use ScreenshotOne.com API to generate screenshots of any website.", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -737,3 +737,7 @@ import * as crypto from 'crypto'; | ||
for (const value of values) { | ||
this.query.append(key, value); | ||
if (values.length == 1) { | ||
this.query.set(key, value); | ||
} else { | ||
this.query.append(key, value); | ||
} | ||
} | ||
@@ -740,0 +744,0 @@ }; |
92104
2514