Refactored the DB class into a regular singleton class.

This commit is contained in:
softsimon
2022-04-13 17:38:42 +04:00
parent c18d525f4a
commit 427c1ca075
10 changed files with 45 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
import { Common } from '../api/common';
import { DB } from '../database';
import DB from '../database';
import logger from '../logger';
import PoolsRepository from './PoolsRepository';