feat: add /select_choice route

This commit is contained in:
IgorVolochay
2025-03-04 17:25:03 +03:00
parent 62d085b898
commit 2c545dc961
7 changed files with 50 additions and 14 deletions
+7 -1
View File
@@ -19,4 +19,10 @@ class AddCardBody(BaseModel):
choice_A: str
choice_B: str
author_id: NonNegativeInt
author_id: NonNegativeInt
class SelectChoice(BaseModel):
user_id: NonNegativeInt
card_id: NonNegativeInt
choice: typing.Literal["A", "B"]