Skip to content

Commit

Permalink
Update daily.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ohld committed Jun 7, 2024
1 parent 5b53e41 commit 24e0648
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/flows/rewards/daily.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ async def reward_user_for_daily_activity(user_id: int):
datetime.today().strftime("%Y-%m-%d"),
)
if res:
msg = (
localizer.t(
"rewards.daily_reward",
user_info["interface_lang"],
).format(amount=PAYOUTS[TrxType.DAILY_REWARD]),
)
msg = localizer.t(
"rewards.daily_reward",
user_info["interface_lang"],
).format(amount=PAYOUTS[TrxType.DAILY_REWARD])
await bot.send_message(
user_id,
msg,
Expand Down

0 comments on commit 24e0648

Please sign in to comment.