Skip to content

Commit

Permalink
fix reverted change
Browse files Browse the repository at this point in the history
  • Loading branch information
marrobi committed Jan 2, 2024
1 parent 4ff113e commit 8e98ebf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api_app/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.18.6"
__version__ = "0.18.7"
2 changes: 1 addition & 1 deletion api_app/db/repositories/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def container(self) -> ContainerProxy:
async def _get_container(cls, container_name) -> ContainerProxy:
try:
database = await Database().get_db_client()
container = await database.create_container_if_not_exists(id=container_name)
container = await database.get_container_client(container=container_name)
return container
except Exception:
raise UnableToAccessDatabase
Expand Down

0 comments on commit 8e98ebf

Please sign in to comment.