diff --git a/backend/main.py b/backend/main.py index 2f4be7c..b6b5812 100644 --- a/backend/main.py +++ b/backend/main.py @@ -26,7 +26,7 @@ with app.app_context(): db = Queries.Queries(sql_database) - taskScheduler = TaskScheduler.TaskScheduler() + taskScheduler = TaskScheduler.TaskScheduler(app) taskScheduler.add_Weekly_Task(db.create_Links) taskScheduler.start()