Skip to content

Commit 8acaad0

Browse files
committed
fix: correct XDELEX command method name and test parameter
1 parent 51176de commit 8acaad0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/client/lib/commands/XDELEX.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ describe("XDELEX", () => {
6868
const reply = await client.xDelex(
6969
streamKey,
7070
messageId,
71-
STREAM_DELETION_POLICY.KEEPREF
7271
);
7372
assert.deepEqual(reply, [STREAM_DELETION_REPLY_CODES.DELETED]);
7473
},

packages/client/lib/commands/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ export default {
943943
XDEL,
944944
xDel: XDEL,
945945
XDELEX,
946-
xDelex: XDELEX,
946+
xDelEx: XDELEX,
947947
XGROUP_CREATE,
948948
xGroupCreate: XGROUP_CREATE,
949949
XGROUP_CREATECONSUMER,

0 commit comments

Comments
 (0)