Remove unnecessary with_answer argument in Riddle.to_dict

This commit is contained in:
Anonymous 2025-01-30 08:29:19 -05:00 committed by Chris Proctor
parent 55e67f2cad
commit 8e78638a75
1 changed files with 1 additions and 1 deletions

View File

@ -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,