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.")