Skip to content

Commit

Permalink
fix route thunmail media
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoLechemia committed Nov 13, 2023
1 parent ea7e436 commit 612224d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apptax/taxonomie/routestmedias.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def getThumbnail_tmedias(id_media):
Image générée
"""

media = TMedias.query.get(id)
media = TMedias.query.get(id_media)
if media is None:
return (
json.dumps(
Expand Down

0 comments on commit 612224d

Please sign in to comment.