Skip to content

Commit ad1d366

Browse files
committed
fix: correct parameter type for sendBinaryMsg in WsStmt2 class
1 parent 8485542 commit ad1d366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodejs/src/stmt/wsStmt2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ export class WsStmt2 implements WsStmt {
293293
this._toBeBindTagCount,
294294
this._toBeBindColCount
295295
);
296-
await this.sendBinaryMsg(reqId, "stmt2_bind", new Uint8Array(bytes));
296+
await this.sendBinaryMsg(reqId, "stmt2_bind", bytes);
297297

298298
let execMsg = {
299299
action: "stmt2_exec",

0 commit comments

Comments
 (0)