From cf8efa4b01863883bbf5c7fe7d5a741f8fe4e236 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Wed, 24 Aug 2022 17:23:39 +0300 Subject: [PATCH] fix the getNext method --- lib/execution-context/telegraf-execution-context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/execution-context/telegraf-execution-context.ts b/lib/execution-context/telegraf-execution-context.ts index e209681..080c7e7 100644 --- a/lib/execution-context/telegraf-execution-context.ts +++ b/lib/execution-context/telegraf-execution-context.ts @@ -28,6 +28,6 @@ export class TelegrafExecutionContext } getNext(): T { - return this.getArgByIndex(0); + return this.getArgByIndex(1); } }