Untested Ormar and FastAPI update

This commit is contained in:
Mawoka
2025-05-20 12:12:06 +02:00
parent 2bfd73412d
commit 03e85f8586
31 changed files with 719 additions and 694 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ async def handle_import_from_excel(data: BinaryIO, user: User) -> Quiz:
answers=answers_list,
time=str(time),
image=existing_question["image"] if existing_question is not None else None,
).dict()
).model_dump()
)
if existing_quiz is None:
quiz = Quiz(