Skip to content

Commit 05b4c16

Browse files
authored
Fixing experiments
1 parent 7705e6a commit 05b4c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function onUpdate (update) {
5757
* Handle incoming Message
5858
* https://core.telegram.org/bots/api#message
5959
*/
60-
function onMessage (message) {
60+
async function onMessage (message) {
6161
try {
6262
const {fixedURL, title} = await getFixedURL(message)
6363
return sendPlainText(message.chat.id, fixedURL)

0 commit comments

Comments
 (0)