Switched to demo mode

This commit is contained in:
algizn97
2025-10-27 13:05:19 +05:00
parent a0ef48810a
commit 9497cca3e0
4 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ async def get_bybit_client(tg_id: int) -> HTTP | None:
"""
try:
api_key, api_secret = await rq.get_user_api(tg_id=tg_id)
return HTTP(api_key=api_key, api_secret=api_secret)
return HTTP(demo=True, api_key=api_key, api_secret=api_secret)
except Exception as e:
logger.error("Error getting bybit client for user %s: %s", tg_id, e)
return None