Skip to content

Commit

Permalink
fix: removed await in str
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyreplus committed Nov 23, 2024
1 parent e7e5d7f commit c23b4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def ore(update: Update, context: ContextTypes.DEFAULT_TYPE):
text = f"Clicca su <a href='{url}'>questo link</a> per le ore"
await update.message.reply_text(text, parse_mode=ParseMode.HTML)
return
email = str(await db.get_mail_from_id_db(user_id))
email = str(db.get_mail_from_id_db(user_id))
url = f"https://api.eagletrt.it/api/v2/oreLab?username={email}"

response = requests.get(url)
Expand Down

0 comments on commit c23b4af

Please sign in to comment.