From e02a29d77584d400d4e86cfa5fe99538e2bbfe18 Mon Sep 17 00:00:00 2001
From: yazSpaz <yasin.biswas20@imperial.ac.uk>
Date: Wed, 9 Apr 2025 23:18:25 +0100
Subject: [PATCH] fixed typo

---
 app/routes.py             |   2 +-
 app/your_database_name.db | Bin 106496 -> 106496 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/routes.py b/app/routes.py
index 30abf20..284d42b 100644
--- a/app/routes.py
+++ b/app/routes.py
@@ -1225,7 +1225,7 @@ def attemptFormative(id):
                         test_attempt_id=new_attempt.id,
                         mcq_id=qid,
                         fib_id=None,
-                        student_answer=mcq[user_letter]
+                        student_answer=user_letter
                         )
                         db.session.add(attempt)
                         db.session.commit()
diff --git a/app/your_database_name.db b/app/your_database_name.db
index 23cc03c266b13c161c44e765923ccb6d39d49da4..22bbf52c4e34359d9cbab07f66ebe2c86eafa40b 100644
GIT binary patch
delta 32
hcmZoTzy?BF81Kll8d_KxnoNHv&nN|9E>mD^006fW3D5ul

delta 32
hcmZoTzy?BF81Kll8kkv`8ccsE&nN|9E>mD^006eg3CaKf

-- 
GitLab