Skip to content

Commit

Permalink
fix(grpc-sdk): redis password env setting redis username (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
kon14 authored Oct 5, 2023
1 parent 22aa8b3 commit fcb4d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/grpc-sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export default class ConduitGrpcSdk {
port: parseInt(process.env.REDIS_PORT!, 10),
db: parseInt(process.env.REDIS_DB!, 10) || 0,
...(process.env.REDIS_USERNAME ? { username: process.env.REDIS_USERNAME } : {}),
...(process.env.REDIS_PASSWORD ? { username: process.env.REDIS_PASSWORD } : {}),
...(process.env.REDIS_PASSWORD ? { password: process.env.REDIS_PASSWORD } : {}),
};
} else {
promise = promise
Expand Down

0 comments on commit fcb4d32

Please sign in to comment.