Skip to content

Commit

Permalink
fix: missing platform arg
Browse files Browse the repository at this point in the history
  • Loading branch information
z0z0r4 committed Dec 29, 2024
1 parent 68d667e commit 8b5130e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down Expand Up @@ -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.")

0 comments on commit 8b5130e

Please sign in to comment.