Closed rozetko closed 4 years ago
Closes #829
Changes:
DataService
data_service/index.ts
DBQ
async
deasync
makeDBQ()
DataService.getInstance().makeDBQ()
Non-related changes:
DbConnector
constructor
Closes #829
Changes:
DataService
singleton class out ofdata_service/index.ts
contentDBQ
methods intoasync
method which connects to DB before using (if it haven't connected yet)deasync
depDataService
usage:makeDBQ()
->DataService.getInstance().makeDBQ()
Non-related changes:
DbConnector
s: throw an error inconstructor
if instance is already created