Explorar el Código

fix onInit to beforeInit

kaori hace 5 años
padre
commit
a38e03e60e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/slackbot-proxy/src/Server.ts

+ 1 - 1
packages/slackbot-proxy/src/Server.ts

@@ -75,7 +75,7 @@ export class Server {
   @Inject()
   injector: InjectorService;
 
-  $onInit(): Promise<any> | void {
+  $beforeInit(): Promise<any> | void {
     const serverUri = process.env.SERVER_URI;
 
     if (serverUri === undefined) {