Skip to content

Commit

Permalink
Add express app return
Browse files Browse the repository at this point in the history
Allowing to call app.close()
  • Loading branch information
Phoscur authored Feb 7, 2020
1 parent 5cc2ab4 commit a6d16ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ https://github.com/TiagoDanin/Telegraf-Test
this.server.get('/bot:token/:method', handleRequest)
this.server.post('/bot:token/:method', handleRequest)

this.server.listen(this.options.port, () => {
return this.server.listen(this.options.port, () => {
log('Telegraf Test Server runnig in port: ', this.options.port)
})
}
Expand Down

0 comments on commit a6d16ca

Please sign in to comment.