Skip to content

Commit

Permalink
Merge pull request #206 from ninoseki/fix-stringfy-database-url
Browse files Browse the repository at this point in the history
fix: stringfy database URL
  • Loading branch information
ninoseki authored Feb 4, 2024
2 parents eb51740 + 20eccda commit f706d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def _get_optional_redis(
if redis_url is None:
yield None
else:
redis: Redis = Redis.from_url(redis_url) # type: ignore
redis: Redis = Redis.from_url(str(redis_url)) # type: ignore
try:
yield redis
finally:
Expand Down

0 comments on commit f706d2a

Please sign in to comment.