You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When replying to a ticket with an image/video/etc. an error occurs
To Reproduce
Steps to reproduce the behavior:
Go in the staff chat
Click on 'reply' and add an image or gif or video
See error
Expected behavior
The user should receive the picture
Additional context
undefined
(node:11764) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of undefined
at C:\Users\mb\Desktop\telegram-support-bot\src\ticket_handler.js:231:14
at Object.exports.check (C:\Users\mb\Desktop\telegram-support-bot\src\dbhandler.js:13:3)
at C:\Users\mb\Desktop\telegram-support-bot\src\ticket_handler.js:227:15
at C:\Users\mb\Desktop\telegram-support-bot\src\ticket_handler.js:293:11
at C:\Users\mb\Desktop\telegram-support-bot\src\ticket_handler.js:324:7
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:11764) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
The text was updated successfully, but these errors were encountered:
Describe the bug
When replying to a ticket with an image/video/etc. an error occurs
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The user should receive the picture
Additional context
undefined
(node:11764) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of undefined
at C:\Users\mb\Desktop\telegram-support-bot\src\ticket_handler.js:231:14
at Object.exports.check (C:\Users\mb\Desktop\telegram-support-bot\src\dbhandler.js:13:3)
at C:\Users\mb\Desktop\telegram-support-bot\src\ticket_handler.js:227:15
at C:\Users\mb\Desktop\telegram-support-bot\src\ticket_handler.js:293:11
at C:\Users\mb\Desktop\telegram-support-bot\src\ticket_handler.js:324:7
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:11764) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)The text was updated successfully, but these errors were encountered: