Merge pull request #909 from Maks1mS/fix-getNext-method

Fix the getNext method in the TelegrafExecutionContext class
This commit is contained in:
Alexander Bukhalo 2022-08-24 17:32:14 +03:00 committed by GitHub
commit 0351ecc5b9
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);
}
}