Skip to content

Commit 3e32c28

Browse files
committed
update
1 parent 80002a8 commit 3e32c28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/telegram_bot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export default class TelegramBot {
187187
const ctx = new TelegramExecutionContext(this, this.update);
188188
this.currentContext = ctx;
189189

190-
if (!(await ctx.shouldProcess())) {
190+
if (ctx.shouldProcess && !(await ctx.shouldProcess())) {
191191
console.log('Skipping update processing based on context validation');
192192
return new Response('ok');
193193
}

0 commit comments

Comments
 (0)