From eb5cc3680f62a5251b6963ce9a3dfc24c673c8a6 Mon Sep 17 00:00:00 2001 From: user Date: Mon, 28 Oct 2024 18:35:25 +0300 Subject: [PATCH] change purchase notification bot --- app/core/background/indexer_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/background/indexer_service.py b/app/core/background/indexer_service.py index 05b9305..a51a361 100644 --- a/app/core/background/indexer_service.py +++ b/app/core/background/indexer_service.py @@ -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: