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 3d589fc commit 25dcdf6Copy full SHA for 25dcdf6
src/modules/transfer-http/transfer-http.ts
@@ -190,7 +190,7 @@ export class TransferHttp {
190
url = uri.url;
191
}
192
193
- const key = url + JSON.stringify(options);
+ const key = url + (options ? JSON.stringify(options) : '');
194
195
try {
196
return this.resolveData(key);
@@ -216,7 +216,7 @@ export class TransferHttp {
216
217
218
219
- const key = url + JSON.stringify(body) + JSON.stringify(options);
+ const key = url + (body ? JSON.stringify(body) : '') + (options ? JSON.stringify(options) : '');
220
221
222
0 commit comments