Jul 13 - Update web API to support iOS app on scheduled inspection and issue's handler

This commit is contained in:
Nguyen Ngo
2026-07-13 12:36:28 -04:00
parent d7be9b8245
commit 729f1a6df8
4 changed files with 203 additions and 0 deletions
+2
View File
@@ -213,6 +213,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.scheduled import bp as _api_scheduled_bp
csrf.exempt(_api_auth_bp)
csrf.exempt(_api_facilities_bp)
csrf.exempt(_api_templates_bp)
@@ -222,6 +223,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_scheduled_bp)
register_api(app)
# ── Security response headers ─────────────────────────────────────────