From 8adf4d32a20127aec4067565d8b8cf8b90e91aa3 Mon Sep 17 00:00:00 2001
From: Nikita Gaziev <98274273+zobweyt@users.noreply.github.com>
Date: Sat, 11 Jan 2025 22:59:01 +0300
Subject: [PATCH] feat(quotes): make author id field optional in schema

---
 src/api/quotes/schemas.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/quotes/schemas.py b/src/api/quotes/schemas.py
index 9b7e7c7..4f9fd22 100644
--- a/src/api/quotes/schemas.py
+++ b/src/api/quotes/schemas.py
@@ -18,7 +18,7 @@ class QuoteCollectionsResponse(QuoteResponse):
 
 class QuoteCreateRequest(BaseModel):
     content: str
-    author_id: int | None
+    author_id: int | None = None
 
 
 class QuoteUpdateRequest(BaseModel):