fix: refc code to use dictionary serialization instead of model_dump()

This commit is contained in:
swve 2024-04-06 13:54:28 +02:00
parent 7d86ff4a85
commit b57e6e55ce
6 changed files with 9 additions and 7 deletions

View file

@ -326,6 +326,8 @@ async def get_courses_orgslug(
page: int = 1,
limit: int = 10,
):
# TODO : This entire function is a mess. It needs to be rewritten.
# Query for public courses
statement_public = (