diff --git a/odp/api/admin.py b/odp/api/admin.py index 89e6a179..7638a4e4 100644 --- a/odp/api/admin.py +++ b/odp/api/admin.py @@ -24,6 +24,12 @@ init_db_middleware(app) +app.include_router( + status.router, + prefix='/status', + tags=['Status'], +) + app.include_router( authorization.router, prefix='/auth', @@ -59,9 +65,3 @@ prefix='/datacite', tags=['DataCite'], ) - -app.include_router( - status.router, - prefix='/status', - tags=['Status'], -) diff --git a/odp/api/public.py b/odp/api/public.py index 3d71f6b1..c763e349 100644 --- a/odp/api/public.py +++ b/odp/api/public.py @@ -17,6 +17,12 @@ init_db_middleware(app) +app.include_router( + status.router, + prefix='/status', + tags=['Status'], +) + app.include_router( catalogue.router, prefix='/catalogue', @@ -47,9 +53,3 @@ allow_methods=["*"], allow_headers=["*"], ) - -app.include_router( - status.router, - prefix='/status', - tags=['Status'], -)