diff options
author | 2020-12-27 20:58:56 +0200 | |
---|---|---|
committer | 2020-12-27 20:58:56 +0200 | |
commit | c6303551cabeecba665d188a702ac8c6ada1a3f9 (patch) | |
tree | ae04445acbd41debafff5d3c1e38866244ea7fd2 /backend/__init__.py | |
parent | Implement Sentry SDK initialization and add Middleware (diff) |
Move Sentry middleware to higher position
Diffstat (limited to 'backend/__init__.py')
-rw-r--r-- | backend/__init__.py | 2 |
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) |