Skip to content

Commit e92d835

Browse files
committed
fix: connection options wrongly passed to redis transport
Related #11
1 parent 3785f7b commit e92d835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bentocache/src/drivers/redis.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function redisBusDriver(
2828
): CreateBusDriverResult {
2929
return {
3030
options,
31-
factory: (config: IoRedisOptions) => new RedisTransport(config, new BinaryEncoder()),
31+
factory: () => new RedisTransport(options.connection, new BinaryEncoder()),
3232
}
3333
}
3434

0 commit comments

Comments
 (0)