From e77489d3d8ebbd94691b5eae01dace86211a24b7 Mon Sep 17 00:00:00 2001 From: Nguyen Ngo Date: Wed, 24 Jun 2026 17:19:04 -0400 Subject: [PATCH] Jun 24 - Implement devices tracker - Fix app/__init__.py --- app/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/__init__.py b/app/__init__.py index 93736d8..cd14e19 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -199,6 +199,7 @@ def create_app(config_name='default'): from app.api.notifications import bp as _api_notifications_bp from app.api.stats import bp as _api_stats_bp from app.api.comments import bp as _api_comments_bp + from app.api.devices import bp as _api_devices_bp csrf.exempt(_api_auth_bp) csrf.exempt(_api_facilities_bp) csrf.exempt(_api_templates_bp) @@ -208,6 +209,7 @@ def create_app(config_name='default'): csrf.exempt(_api_notifications_bp) csrf.exempt(_api_stats_bp) csrf.exempt(_api_comments_bp) + csrf.exempt(_api_devices_bp) register_api(app) # ── Security response headers ─────────────────────────────────────────