aboutsummaryrefslogtreecommitdiffstats
path: root/backend/__init__.py
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-27 20:58:56 +0200
committerGravatar GitHub <[email protected]>2020-12-27 20:58:56 +0200
commitc6303551cabeecba665d188a702ac8c6ada1a3f9 (patch)
treeae04445acbd41debafff5d3c1e38866244ea7fd2 /backend/__init__.py
parentImplement Sentry SDK initialization and add Middleware (diff)
Move Sentry middleware to higher position
Diffstat (limited to 'backend/__init__.py')
-rw-r--r--backend/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/__init__.py b/backend/__init__.py
index 9c24fec..a3704a0 100644
--- a/backend/__init__.py
+++ b/backend/__init__.py
@@ -30,8 +30,8 @@ middleware = [
),
Middleware(DatabaseMiddleware),
Middleware(AuthenticationMiddleware, backend=JWTAuthenticationBackend()),
- Middleware(ProtectedDocsMiddleware),
Middleware(SentryAsgiMiddleware),
+ Middleware(ProtectedDocsMiddleware),
]
app = Starlette(routes=create_route_map(), middleware=middleware)