forked from kodorvan/stcs
Switched to demo mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user