diff --git a/lib/server.js b/lib/server.js index 90bb962d9f463..6c52928882040 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()