Skip to content

Commit

Permalink
feat(quotes): make author id field optional in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
zobweyt authored Jan 11, 2025
1 parent 2d0ae1a commit 8adf4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/quotes/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class QuoteCollectionsResponse(QuoteResponse):

class QuoteCreateRequest(BaseModel):
content: str
author_id: int | None
author_id: int | None = None


class QuoteUpdateRequest(BaseModel):
Expand Down

0 comments on commit 8adf4d3

Please sign in to comment.