Skip to content

Commit

Permalink
fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Nov 5, 2023
1 parent fe7daa1 commit dc36ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def connect() -> None:
async def disconnect() -> None:
await db.close()

await redis.close()
await redis.aclose()

print("Disconnected from database and redis")

Expand Down

0 comments on commit dc36ff1

Please sign in to comment.