From 8e78638a750661745484a21cf347cdca6925a4c9 Mon Sep 17 00:00:00 2001 From: Anonymous Date: Thu, 30 Jan 2025 08:29:19 -0500 Subject: [PATCH] Remove unnecessary with_answer argument in Riddle.to_dict --- app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index 45b26dd..ed322f2 100644 --- a/app/models.py +++ b/app/models.py @@ -8,7 +8,7 @@ class Riddle(Model): correct = IntegerField() MIN_SIMILARITY = 80 - def to_dict(self, with_answer=True): + def to_dict(self): return { "id": self.id, "question": self.question,