2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 05:17:41 +00:00

test: Fix previously-uncaught lint errors

This commit is contained in:
GochoMugo 2017-12-21 12:45:34 +03:00
parent 2bdd50fdc2
commit 7e9e9b11b3
No known key found for this signature in database
GPG Key ID: 7B6A01CB57AA39E4
2 changed files with 4 additions and 4 deletions

View File

@ -62,8 +62,8 @@ bot.onText(/\/editable/, function onEditableText(msg) {
[
{
text: 'Edit Text',
// we shall check for this value when we listen
// for "callback_query"
// we shall check for this value when we listen
// for "callback_query"
callback_data: 'edit'
}
]

View File

@ -9,8 +9,8 @@ const TelegramBot = require('../..');
const options = {
webHook: {
port: 443,
key: `${__dirname}/../ssl/key.pem`, // Path to file with PEM private key
cert: `${__dirname}/../ssl/crt.pem` // Path to file with PEM certificate
key: `${__dirname}/../ssl/key.pem`, // Path to file with PEM private key
cert: `${__dirname}/../ssl/crt.pem` // Path to file with PEM certificate
}
};
// This URL must route to the port set above (i.e. 443)