Skip to content

Commit

Permalink
fix endpoints for determining roles/permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
douwevandermeij committed Jul 23, 2023
1 parent 76a8da2 commit 5fb93c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fractal/__init__.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions fractal/contrib/fastapi/routers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
),
Expand All @@ -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",
)
),
Expand All @@ -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",
)
),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <douwe@karibu-online.nl>"]

Expand Down

0 comments on commit 5fb93c5

Please sign in to comment.