fixed web-api
This commit is contained in:
parent
46de1755e9
commit
96f515a76b
3 changed files with 71 additions and 13 deletions
|
|
@ -15,8 +15,13 @@ import {
|
|||
const logger = getLogger('exchange-service');
|
||||
|
||||
export class ExchangeService {
|
||||
private postgresClient = getPostgreSQLClient();
|
||||
private mongoClient = getMongoDBClient();
|
||||
private get postgresClient() {
|
||||
return getPostgreSQLClient();
|
||||
}
|
||||
|
||||
private get mongoClient() {
|
||||
return getMongoDBClient();
|
||||
}
|
||||
|
||||
// Exchanges
|
||||
async getAllExchanges(): Promise<ExchangeWithMappings[]> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue