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 2eca45b + d1cbaa0 commit e84c841Copy full SHA for e84c841
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