This commit is contained in:
Florian Dold 2023-09-06 10:50:00 +02:00
parent da4f3900b4
commit c9a0d2eb96
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -1825,8 +1825,7 @@ export class MerchantService implements MerchantServiceInterface {
if (!this.proc) {
throw Error("merchant must be running to add instance");
}
console.trace("here!");
logger.info("adding instance");
logger.info(`adding instance '${instanceConfig.id}'`);
const url = `http://localhost:${this.merchantConfig.httpPort}/management/instances`;
const auth = instanceConfig.auth ?? { method: "external" };