Explorar o código

Merge pull request #3727 from weseek/fix/gw5938-server-uri-error

fix server uri error
Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
e2c4c8bc09
Modificáronse 1 ficheiros con 1 adicións e 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) {