mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-23 22:52:59 +03:00
Merge pull request #909 from Maks1mS/fix-getNext-method
Fix the getNext method in the TelegrafExecutionContext class
This commit is contained in:
commit
0351ecc5b9
@ -28,6 +28,6 @@ export class TelegrafExecutionContext
|
||||
}
|
||||
|
||||
getNext<T = any>(): T {
|
||||
return this.getArgByIndex(0);
|
||||
return this.getArgByIndex(1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user