mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-11 18:24:05 +00:00
Avoid creating a separate base db instance for graph database (#221)
* Avoid creating a separate base db instance for graph database * Fix failing test file build * Use getter method to get base database
This commit is contained in:
@@ -86,6 +86,10 @@ export class Database {
|
||||
});
|
||||
}
|
||||
|
||||
get conn (): Connection {
|
||||
return this._conn;
|
||||
}
|
||||
|
||||
async init (): Promise<Connection> {
|
||||
assert(!this._conn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user