diff --git a/packages/graph/lib/commands/DELETE.spec.ts b/packages/graph/lib/commands/DELETE.spec.ts index 86cec5c8d2..45d5ddaa50 100644 --- a/packages/graph/lib/commands/DELETE.spec.ts +++ b/packages/graph/lib/commands/DELETE.spec.ts @@ -16,6 +16,6 @@ describe('GRAPH.DELETE', () => { client.graph.delete('key') ]); - assert.equal(reply, 'OK'); + assert.equal(typeof reply, 'string'); }, GLOBAL.SERVERS.OPEN); }); diff --git a/packages/graph/lib/commands/DELETE.ts b/packages/graph/lib/commands/DELETE.ts index f5772a5f6e..f5f99fb92c 100644 --- a/packages/graph/lib/commands/DELETE.ts +++ b/packages/graph/lib/commands/DELETE.ts @@ -1,4 +1,4 @@ -import { RedisArgument, SimpleStringReply, Command } from '@redis/client/dist/lib/RESP/types'; +import { RedisArgument, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types'; export default { FIRST_KEY_INDEX: 1, @@ -6,5 +6,5 @@ export default { transformArguments(key: RedisArgument) { return ['GRAPH.DELETE', key]; }, - transformReply: undefined as unknown as () => SimpleStringReply<'OK'> + transformReply: undefined as unknown as () => BlobStringReply } as const satisfies Command;