Der-Henning / tgtg

Scanner for Too Good To Go Notifications
https://github.com/Der-Henning/tgtg/wiki
GNU General Public License v3.0
402 stars 62 forks source link

Telegram body direct link to TGTG app #544

Closed mbaruzzo closed 3 weeks ago

mbaruzzo commented 3 weeks ago

Hi!

I am not sure if this was already posted but I could not find it. I used to have in the environment tab of the docker under TELEGRAM_BODY the following

${{display_name}}\nAvailable: ${{items_available}}\nRating: ${{rating}}\nPrice: ${{price}} ${{currency}}\nPickup: ${{pickupdate}}\nLink: https://share.toogoodtogo.com/item/${{item_id}}

Now it seems it doesn't work anymore as the link contains "."

If I remove the link part "\nLink: https://share.toogoodtogo.com/item/${{item_id}}" it works perfectly but then I don't have the direct link to go the app. Is it something that can be added in a different way perhaps?

Thanks.

nevrrmind commented 3 weeks ago

Try: \nLink: ${{link}}

mbaruzzo commented 3 weeks ago

Try: \nLink: ${{link}}

it worked thanks!