raj-tomar001 commited on
Commit
386894b
·
verified ·
1 Parent(s): 7e17ed7

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +1 -1
models.py CHANGED
@@ -942,7 +942,7 @@ def get_recent_quizzes_db(user_id, limit=5):
942
  if not connection:
943
  return {"error": "Database connection failed."}
944
 
945
- cursor = connection.cursor(dictionary=True)
946
 
947
 
948
  cursor.execute("""
 
942
  if not connection:
943
  return {"error": "Database connection failed."}
944
 
945
+ cursor = connection.cursor()
946
 
947
 
948
  cursor.execute("""