Skip to content

Commit

Permalink
fresh product changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Sep 15, 2024
1 parent ba1f1ed commit cd80f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion say/api/need_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ def post(self):

if new_need.link:
from say.tasks import update_need
if "Protein" in name_translations.en | "Dairy" in name_translations.en:
if "Protein" in name_translations['en'] | "Dairy" in name_translations['en']:
update_need.delay(new_need.id, True)
else:
update_need.delay(new_need.id, False)
Expand Down

0 comments on commit cd80f17

Please sign in to comment.