configure merchant DB explicitly

This commit is contained in:
Florian Dold 2020-08-06 17:16:52 +05:30
parent 08ae0ca23c
commit 59fe51806d
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -765,6 +765,7 @@ export class MerchantService {
"keyfile",
"${TALER_DATA_HOME}/merchant/merchant.priv",
);
config.setString("merchantdb-postgres", "config", mc.database);
config.write(cfgFilename);
return new MerchantService(gc, mc, cfgFilename);