Skip to content

Commit

Permalink
fix(common): remove $onReady hook called twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Jul 18, 2022
1 parent dec66fd commit d2da885
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/platform/common/src/builder/PlatformBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ export class PlatformBuilder<App = TsED.Application, Router = TsED.Router> {
const {startedAt} = this;

await this.callHook("$onReady");
await this.injector.emit("$onReady");
await this.injector.emit("$onServerReady");

this.log(`Started in ${new Date().getTime() - startedAt.getTime()} ms`);
Expand Down

0 comments on commit d2da885

Please sign in to comment.