mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-09-02 15:25:28 +00:00
test: Fix previously-uncaught lint errors
This commit is contained in:
@@ -62,8 +62,8 @@ bot.onText(/\/editable/, function onEditableText(msg) {
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
text: 'Edit Text',
|
text: 'Edit Text',
|
||||||
// we shall check for this value when we listen
|
// we shall check for this value when we listen
|
||||||
// for "callback_query"
|
// for "callback_query"
|
||||||
callback_data: 'edit'
|
callback_data: 'edit'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@@ -9,8 +9,8 @@ const TelegramBot = require('../..');
|
|||||||
const options = {
|
const options = {
|
||||||
webHook: {
|
webHook: {
|
||||||
port: 443,
|
port: 443,
|
||||||
key: `${__dirname}/../ssl/key.pem`, // Path to file with PEM private key
|
key: `${__dirname}/../ssl/key.pem`, // Path to file with PEM private key
|
||||||
cert: `${__dirname}/../ssl/crt.pem` // Path to file with PEM certificate
|
cert: `${__dirname}/../ssl/crt.pem` // Path to file with PEM certificate
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// This URL must route to the port set above (i.e. 443)
|
// This URL must route to the port set above (i.e. 443)
|
||||||
|
Reference in New Issue
Block a user