Skip to content

Commit 8366114

Browse files
authored
Merge pull request #41 from Phoscur/patch-1
Add express app return
2 parents 5cc2ab4 + a6d16ca commit 8366114

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ https://github.com/TiagoDanin/Telegraf-Test
523523
this.server.get('/bot:token/:method', handleRequest)
524524
this.server.post('/bot:token/:method', handleRequest)
525525

526-
this.server.listen(this.options.port, () => {
526+
return this.server.listen(this.options.port, () => {
527527
log('Telegraf Test Server runnig in port: ', this.options.port)
528528
})
529529
}

0 commit comments

Comments
 (0)