mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 15:04:38 +03:00
fix the getNext method
This commit is contained in:
parent
c83abe7214
commit
cf8efa4b01
@ -28,6 +28,6 @@ export class TelegrafExecutionContext
|
|||||||
}
|
}
|
||||||
|
|
||||||
getNext<T = any>(): T {
|
getNext<T = any>(): T {
|
||||||
return this.getArgByIndex(0);
|
return this.getArgByIndex(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user