Skip to content

Commit

Permalink
🐛 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gbourniq committed Jan 15, 2022
1 parent 5bd5f49 commit 49dcd80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def notify_registered_users(self) -> NoReturn:
"base_url": "https://tari.kitchen", # TODO: remove hardcoded base url
"item_name": self.item_name,
"item_url_path": f"/items/{self.category_name.category_slug}/{self.item_slug}",
"recette_image_url_path": f"{Path(self.image_thumbnail).with_suffix('')}{THUMBNAIL_SUFFIX}.jpg",
"recette_image_url_path": f"{Path(self.image_thumbnail.url).with_suffix('')}{THUMBNAIL_SUFFIX}.jpg",
"username": user.username.title(),
"email": user.email,
}
Expand Down

0 comments on commit 49dcd80

Please sign in to comment.