fix: add missing commas for syntax correctness across multiple files
Test / test (push) Successful in 15s

This commit is contained in:
Artem Kashaev
2025-12-01 16:19:19 +05:00
parent ed6c656963
commit 1039fba571
23 changed files with 52 additions and 52 deletions
+1 -1
View File
@@ -95,5 +95,5 @@ async def deals_funnel(
breakdowns: list[StageBreakdown] = await service.get_deal_funnel(context.organization_id)
return DealFunnelResponse(
stages=[StageBreakdownModel.model_validate(item) for item in breakdowns]
stages=[StageBreakdownModel.model_validate(item) for item in breakdowns],
)
+1 -1
View File
@@ -83,7 +83,7 @@ async def create_contact(
service: ContactService = Depends(get_contact_service),
) -> ContactRead:
data = payload.to_domain(
organization_id=context.organization_id, fallback_owner=context.user_id
organization_id=context.organization_id, fallback_owner=context.user_id,
)
try:
contact = await service.create_contact(data, context=context)
+2 -2
View File
@@ -68,7 +68,7 @@ async def list_deals(
stage_value = DealStage(stage) if stage else None
except ValueError as exc:
raise HTTPException(
status_code=status.HTTP_400_BAD_REQUEST, detail="Invalid deal filter"
status_code=status.HTTP_400_BAD_REQUEST, detail="Invalid deal filter",
) from exc
params = DealQueryParams(
@@ -100,7 +100,7 @@ async def create_deal(
"""Create a new deal within the current organization."""
data = payload.to_domain(
organization_id=context.organization_id, fallback_owner=context.user_id
organization_id=context.organization_id, fallback_owner=context.user_id,
)
try:
deal = await service.create_deal(data, context=context)