mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-30 13:58:27 +00:00
Eslint correction
This commit is contained in:
@@ -372,7 +372,7 @@ class TelegramBot extends EventEmitter {
|
|||||||
opts.formData = content[0];
|
opts.formData = content[0];
|
||||||
opts.qs.document = content[1];
|
opts.qs.document = content[1];
|
||||||
if (opts.formData && Object.keys(fileOpts).length) {
|
if (opts.formData && Object.keys(fileOpts).length) {
|
||||||
opts.formData['document'].options = fileOpts;
|
opts.formData.document.options = fileOpts;
|
||||||
}
|
}
|
||||||
return this._request('sendDocument', opts);
|
return this._request('sendDocument', opts);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user