refactor: improve code readability by formatting arguments across multiple files
Test / test (push) Successful in 15s

This commit is contained in:
Artem Kashaev
2025-12-01 16:25:30 +05:00
parent dc0046c730
commit 1dd7c2f2b8
22 changed files with 161 additions and 49 deletions
+7 -2
View File
@@ -80,7 +80,9 @@ class ContactService:
)
try:
return await self._repository.list(
params=params, role=context.role, user_id=context.user_id,
params=params,
role=context.role,
user_id=context.user_id,
)
except ContactAccessError as exc:
raise ContactForbiddenError(str(exc)) from exc
@@ -126,7 +128,10 @@ class ContactService:
return contact
try:
return await self._repository.update(
contact, payload, role=context.role, user_id=context.user_id,
contact,
payload,
role=context.role,
user_id=context.user_id,
)
except ContactAccessError as exc:
raise ContactForbiddenError(str(exc)) from exc