change purchase notification bot

This commit is contained in:
user 2024-10-28 18:35:25 +03:00
parent 974ce96c32
commit eb5cc3680f
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ async def indexer_loop(memory, platform_found: bool, seqno: int) -> [bool, int]:
try:
user = new_license.user
if user.telegram_id and licensed_content:
await (Wrapped_CBotChat(memory._telegram_bot, chat_id=user.telegram_id, user=user, db_session=session)).send_content(
await (Wrapped_CBotChat(memory._client_telegram_bot, chat_id=user.telegram_id, user=user, db_session=session)).send_content(
session, licensed_content
)
except BaseException as e: