mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 04:46:02 +00:00
chore: append getDb inoto context
This commit is contained in:
parent
b3a3457e88
commit
c0c19983e2
@ -735,6 +735,7 @@ export class Application<StateT = DefaultState, ContextT = DefaultContext> exten
|
||||
this._cli = this.createCli();
|
||||
this._i18n = createI18n(options);
|
||||
this.context.db = this.getDb();
|
||||
this.context.getDb = this.getDb;
|
||||
|
||||
// this.context.logger = this._logger;
|
||||
this.context.resourcer = this._resourcer;
|
||||
|
Loading…
Reference in New Issue
Block a user