fixed web-api

This commit is contained in:
Boki 2025-06-18 18:28:01 -04:00
parent 46de1755e9
commit 96f515a76b
3 changed files with 71 additions and 13 deletions

View file

@ -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[]> {