mirror of
https://github.com/koloideal/Quizzi.git
synced 2026-06-10 10:25:28 +03:00
Initial commit
This commit is contained in:
@@ -18,7 +18,7 @@ async def get_tests_data(test_dao: FromDishka[TestDAO], **_kwargs):
|
||||
|
||||
return {
|
||||
"tests": [
|
||||
(t.title, t.id)
|
||||
(f"{'🟢' if t.is_active else '🔴'} {t.title}", t.id)
|
||||
for t in tests
|
||||
],
|
||||
"count": len(tests),
|
||||
|
||||
Reference in New Issue
Block a user