-remove bogus logging

This commit is contained in:
Florian Dold 2023-09-04 14:25:06 +02:00
parent 64e78d03a1
commit 1c3e9473fd
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 0 additions and 4 deletions

View File

@ -1407,9 +1407,7 @@ export class MerchantApiClient {
} }
async getPrivateInstanceInfo(): Promise<any> { async getPrivateInstanceInfo(): Promise<any> {
console.log(this.makeAuthHeader());
const url = new URL("private", this.baseUrl); const url = new URL("private", this.baseUrl);
logger.info(`request url ${url.href}`);
const resp = await this.httpClient.fetch(url.href, { const resp = await this.httpClient.fetch(url.href, {
method: "GET", method: "GET",
headers: this.makeAuthHeader(), headers: this.makeAuthHeader(),
@ -1418,7 +1416,6 @@ export class MerchantApiClient {
} }
async getPrivateTipReserves(): Promise<TippingReserveStatus> { async getPrivateTipReserves(): Promise<TippingReserveStatus> {
console.log(this.makeAuthHeader());
const url = new URL("private/reserves", this.baseUrl); const url = new URL("private/reserves", this.baseUrl);
const resp = await this.httpClient.fetch(url.href, { const resp = await this.httpClient.fetch(url.href, {
method: "GET", method: "GET",

View File

@ -402,7 +402,6 @@ deploymentCli
); );
const res = await merchantClient.getPrivateInstanceInfo(); const res = await merchantClient.getPrivateInstanceInfo();
console.log(res);
const tipRes = await merchantClient.getPrivateTipReserves(); const tipRes = await merchantClient.getPrivateTipReserves();
console.log(j2s(tipRes)); console.log(j2s(tipRes));