Skip to content

Commit

Permalink
update text of price alert email
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Jun 1, 2024
1 parent d09830d commit 26a7e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cron_price_alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def send_email(recipient, symbol, asset_type, current_price,target_price, condit
asset_type = 'crypto'

html_body = html_body.replace('currentDate', formatted_date)
html_body = html_body.replace('addingSentence', f'The price of ${current_price} is {condition} your target price of ${target_price}')
html_body = html_body.replace('addingSentence', f'The price of ${current_price} is at/{condition} your target price of ${target_price}')
html_body = html_body.replace('symbol', symbol)
html_body = html_body.replace('asset-link', f'/{asset_type}/{symbol}')

Expand Down

0 comments on commit 26a7e6a

Please sign in to comment.