fix: add missing commas for syntax correctness across multiple files
Test / test (push) Successful in 15s
Test / test (push) Successful in 15s
This commit is contained in:
@@ -56,7 +56,7 @@ class OrganizationService:
|
||||
self._repository = repository
|
||||
|
||||
async def get_context(
|
||||
self, *, user_id: int, organization_id: int | None
|
||||
self, *, user_id: int, organization_id: int | None,
|
||||
) -> OrganizationContext:
|
||||
"""Resolve request context ensuring the user belongs to the given organization."""
|
||||
|
||||
@@ -70,7 +70,7 @@ class OrganizationService:
|
||||
return OrganizationContext(organization=membership.organization, membership=membership)
|
||||
|
||||
def ensure_entity_in_context(
|
||||
self, *, entity_organization_id: int, context: OrganizationContext
|
||||
self, *, entity_organization_id: int, context: OrganizationContext,
|
||||
) -> None:
|
||||
"""Make sure a resource belongs to the current organization."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user