Remove unnecessary with_answer argument in Riddle.to_dict
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user