diff options
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/dev-experiments.ts | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/packages/taler-wallet-core/src/dev-experiments.ts b/packages/taler-wallet-core/src/dev-experiments.ts index 6516db929..e1de7dbf1 100644 --- a/packages/taler-wallet-core/src/dev-experiments.ts +++ b/packages/taler-wallet-core/src/dev-experiments.ts @@ -129,10 +129,8 @@ export class DevExperimentHttpLib implements HttpRequestLibrary { url: string, opt?: HttpRequestOptions | undefined, ): Promise<HttpResponse> { - return this.fetch(url, { - method: "GET", - ...opt, - }); + logger.info(`devexperiment httplib ${url}`); + return this.underlyingLib.get(url, opt); } postJson( @@ -140,11 +138,8 @@ export class DevExperimentHttpLib implements HttpRequestLibrary { body: any, opt?: HttpRequestOptions | undefined, ): Promise<HttpResponse> { - return this.fetch(url, { - method: "POST", - body, - ...opt, - }); + logger.info(`devexperiment httplib ${url}`); + return this.underlyingLib.postJson(url, body, opt); } fetch( |