Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Jun 18, 2024
1 parent 5b3168e commit 62f6b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/app/crud/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def __aenter__(self) -> Self:
*(
Redis(
host=settings.redis.host,
password=None if len(settings.redis.password) else settings.redis.password,
password=settings.redis.password if settings.redis.password else None,
port=settings.redis.port,
db=db,
).__aenter__()
Expand Down

0 comments on commit 62f6b44

Please sign in to comment.