diff --git a/lib/server.js b/lib/server.js index f8436e307e..068055864f 100644 --- a/lib/server.js +++ b/lib/server.js @@ -195,7 +195,7 @@ module.exports = class Server { githubConstellation.initialize(camp) metrics.initialize(camp) - const { githubApiProvider } = this.githubConstellation + const { apiProvider: githubApiProvider } = this.githubConstellation suggest.setRoutes(allowedOrigin, githubApiProvider, camp) this.registerErrorHandlers()