From 8b5130eca81f2f35c23004c9d8c1fd303d601bfb Mon Sep 17 00:00:00 2001 From: z0z0r4 Date: Sun, 29 Dec 2024 14:27:06 +0800 Subject: [PATCH] fix: missing platform arg --- sync/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync/tasks.py b/sync/tasks.py index 27170e0..6290829 100644 --- a/sync/tasks.py +++ b/sync/tasks.py @@ -332,7 +332,7 @@ async def sync_curseforge_queue(): clear_curseforge_all_queues() log.info("CurseForge queue cleared.") - notice = SyncNotification(projects_detail_info=projects_detail_info) + notice = SyncNotification(platform="curseforge", projects_detail_info=projects_detail_info) await notice.send_to_telegram() log.info("All Message sent to telegram.") @@ -375,7 +375,7 @@ async def sync_modrinth_queue(): clear_modrinth_all_queues() log.info("Modrinth queue cleared.") - notice = SyncNotification(projects_detail_info=projects_detail_info) + notice = SyncNotification(platform="modrinth", projects_detail_info=projects_detail_info) await notice.send_to_telegram() log.info("All Message sent to telegram.")