From 34a10f375fc2496bdb8064d5a9e27d5e25f1ac9b Mon Sep 17 00:00:00 2001 From: hayden Date: Sat, 30 Jan 2021 21:00:28 -0900 Subject: [PATCH] update branch todos --- mealie/app.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mealie/app.py b/mealie/app.py index b3c91ac34..3b3b6e7a7 100644 --- a/mealie/app.py +++ b/mealie/app.py @@ -30,6 +30,8 @@ TODO: - [x] Category Endpoints - [ ] Endpoint Tests - [ ] Finish Frontend Category Management + - [ ] Delete Category / Tags + - [ ] Sort Sidebar A-Z - [ ] Ingredient Drag-Drop / Reorder - [ ] Refactor Endpoints @@ -48,6 +50,10 @@ def mount_static_files(): app.mount("/static", StaticFiles(directory=WEB_PATH, html=True)) +def start_scheduler(): + import services.scheduler.scheduled_jobs + + def api_routers(): # Recipes app.include_router(all_recipe_routes.router) @@ -71,11 +77,6 @@ if PRODUCTION: api_routers() - -def start_scheduler(): - import services.scheduler.scheduled_jobs - - # API 404 Catch all CALL AFTER ROUTERS @app.get("/api/{full_path:path}", status_code=404, include_in_schema=False) def invalid_api():