Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Reorder routers
Browse files Browse the repository at this point in the history
Put status at the top
  • Loading branch information
marksparkza committed Apr 20, 2021
1 parent 2ccb446 commit 4ed7ffa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions odp/api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@

init_db_middleware(app)

app.include_router(
status.router,
prefix='/status',
tags=['Status'],
)

app.include_router(
authorization.router,
prefix='/auth',
Expand Down Expand Up @@ -59,9 +65,3 @@
prefix='/datacite',
tags=['DataCite'],
)

app.include_router(
status.router,
prefix='/status',
tags=['Status'],
)
12 changes: 6 additions & 6 deletions odp/api/public.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@

init_db_middleware(app)

app.include_router(
status.router,
prefix='/status',
tags=['Status'],
)

app.include_router(
catalogue.router,
prefix='/catalogue',
Expand Down Expand Up @@ -47,9 +53,3 @@
allow_methods=["*"],
allow_headers=["*"],
)

app.include_router(
status.router,
prefix='/status',
tags=['Status'],
)

0 comments on commit 4ed7ffa

Please sign in to comment.