Skip to content

Commit 19ccefa

Browse files
committed
remove cast in ioredis types
1 parent 5b8dba0 commit 19ccefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/lib/execution/event-buffer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function createExecutionEventWriter(executionId: string): ExecutionEventW
170170
zaddArgs.push(entry.eventId, JSON.stringify(entry))
171171
}
172172
const pipeline = redis.pipeline()
173-
pipeline.zadd(key, ...(zaddArgs as [number, string]))
173+
pipeline.zadd(key, ...zaddArgs)
174174
pipeline.expire(key, TTL_SECONDS)
175175
pipeline.expire(getSeqKey(executionId), TTL_SECONDS)
176176
pipeline.zremrangebyrank(key, 0, -EVENT_LIMIT - 1)

0 commit comments

Comments
 (0)