Skip to content

Commit

Permalink
id should be part of the path in update opportunity call
Browse files Browse the repository at this point in the history
  • Loading branch information
shri committed Aug 26, 2024
1 parent 5fe80d5 commit da496fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/domain/opportunities/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ class OpportunityCreate(CamelizedBaseStruct):
class OpportunityUpdate(CamelizedBaseStruct):
"""An opportunity update schema."""

id: UUID
name: str | None | msgspec.UnsetType = msgspec.UNSET
stage: OpportunityStage | None | msgspec.UnsetType = msgspec.UNSET
notes: str | None | msgspec.UnsetType = msgspec.UNSET
owner_id: UUID | None = None
company_id: UUID | None = None

0 comments on commit da496fa

Please sign in to comment.