Skip to content

Commit

Permalink
fix: Pass redisOpts argument to constructor (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
khayong committed May 18, 2023
1 parent 8542e9b commit c9b4569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter.ts
Expand Up @@ -147,7 +147,7 @@ export class NodeRedisAdapter implements FilteredAdapter {


public static async newAdapter(options: IConnectionOptions, redisOpts?: redis.ClientOpts) {
const adapter = new NodeRedisAdapter(options)
const adapter = new NodeRedisAdapter(options, redisOpts)
await new Promise(resolve => adapter.redisInstance.on('connect', resolve))
return adapter
}
Expand Down

0 comments on commit c9b4569

Please sign in to comment.