fix(lolzteam): add type conversion and validation checks

This commit is contained in:
2026-07-16 05:28:27 +05:00
parent f2f8356d99
commit 8181394b40
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ async def payments_lolzteam_merchant_id_get(
).check()
if status:
await Paymentsx().update(lolzteam_merchant_id=get_merchant_id)
await Paymentsx().update(lolzteam_merchant_id=int(get_merchant_id))
await cache_message.edit_text("<b>🟢 Lolzteam был успешно изменён ✅</b>")
else:
await cache_message.edit_text("<b>🟢 Не удалось изменить Lolzteam ❌</b>")