fix the getNext method

This commit is contained in:
Maxim Slipenko 2022-08-24 17:23:39 +03:00 committed by GitHub
parent c83abe7214
commit cf8efa4b01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,6 @@ export class TelegrafExecutionContext
}
getNext<T = any>(): T {
return this.getArgByIndex(0);
return this.getArgByIndex(1);
}
}