remove console.log
This commit is contained in:
parent
4591ced347
commit
5336bfece8
2
demo.js
2
demo.js
@ -5,7 +5,7 @@ var Message = require('telegram-api/types/Message');
|
|||||||
var Question = require('telegram-api/types/Question');
|
var Question = require('telegram-api/types/Question');
|
||||||
|
|
||||||
var bot = new Bot({
|
var bot = new Bot({
|
||||||
token: '121143906:AAE6pcpBoARNZZjr3fUpvKuLInJ5Eee5Ajk'
|
token: 'YOUR_KEY'
|
||||||
});
|
});
|
||||||
|
|
||||||
bot.start().catch(err => {
|
bot.start().catch(err => {
|
||||||
|
@ -5,7 +5,6 @@ export default function fetch(path, data = {}) {
|
|||||||
const keys = Object.keys(data);
|
const keys = Object.keys(data);
|
||||||
|
|
||||||
for (let key of keys) {
|
for (let key of keys) {
|
||||||
console.log(key, data[key]);
|
|
||||||
form.append(key, data[key]);
|
form.append(key, data[key]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user