refactor: improve variable naming and add comments for clarity in models and services
Test / test (push) Successful in 15s
Test / test (push) Successful in 15s
This commit is contained in:
@@ -187,5 +187,5 @@ class TaskService:
|
||||
)
|
||||
try:
|
||||
await self._activity_repository.create(data, organization_id=context.organization_id)
|
||||
except ActivityOrganizationMismatchError: # pragma: no cover - defensive
|
||||
raise TaskOrganizationError("Activity target does not belong to organization")
|
||||
except ActivityOrganizationMismatchError as exc: # pragma: no cover - defensive
|
||||
raise TaskOrganizationError("Activity target does not belong to organization") from exc
|
||||
|
||||
Reference in New Issue
Block a user