Skip to content

Commit

Permalink
Merge branch 'master' into gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmelnikow authored Dec 28, 2018
2 parents 13a8de0 + ebe6da2 commit e4fb47d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,12 @@ 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()
this.registerServices()
this.registerRedirects()

await new Promise(resolve => camp.on('listening', () => resolve()))
}
Expand Down

0 comments on commit e4fb47d

Please sign in to comment.