Skip to content

Commit

Permalink
changed variable name to "allergies"
Browse files Browse the repository at this point in the history
  • Loading branch information
Noahkmm committed May 12, 2024
1 parent 8e8d94e commit 5eb4915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/webscraper/food.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ def __str__(self) -> str:

def to_dict(self) -> dict:
# foodObj = {self.name: self.allergies}
return {"name": self.name, self.name: self.allergies}
return {"name": self.name, "allergies": self.allergies}

0 comments on commit 5eb4915

Please sign in to comment.