diff --git a/fractal/__init__.py b/fractal/__init__.py index c110d61..0d82b82 100644 --- a/fractal/__init__.py +++ b/fractal/__init__.py @@ -1,6 +1,6 @@ """Fractal is a scaffolding toolkit for building SOLID logic for your Python applications.""" -__version__ = "4.1.0" +__version__ = "4.1.1" from abc import ABC diff --git a/fractal/contrib/fastapi/routers/default.py b/fractal/contrib/fastapi/routers/default.py index 639687c..dad2b5b 100644 --- a/fractal/contrib/fastapi/routers/default.py +++ b/fractal/contrib/fastapi/routers/default.py @@ -265,7 +265,7 @@ def get_entity( payload: TokenPayloadRoles = Depends( get_payload_roles( fractal, - endpoint=router_service_class().entities_endpoint, + endpoint=router_service_class().entity_endpoint, method="get", ) ), @@ -288,7 +288,7 @@ def update_entity( payload: TokenPayloadRoles = Depends( get_payload_roles( fractal, - endpoint=router_service_class().entities_endpoint, + endpoint=router_service_class().entity_endpoint, method="put", ) ), @@ -311,7 +311,7 @@ def delete_entity( payload: TokenPayloadRoles = Depends( get_payload_roles( fractal, - endpoint=router_service_class().entities_endpoint, + endpoint=router_service_class().entity_endpoint, method="delete", ) ), diff --git a/pyproject.toml b/pyproject.toml index 43ff95a..496eeef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fractal-toolkit" -version = "4.1.0" +version = "4.1.1" description = "Fractal is a scaffolding toolkit for building SOLID logic for your Python applications." authors = ["Douwe van der Meij "]