aboutsummaryrefslogtreecommitdiffstats
path: root/backend/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/__init__.py')
-rw-r--r--backend/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/__init__.py b/backend/__init__.py
index dcbdcdf..67015d7 100644
--- a/backend/__init__.py
+++ b/backend/__init__.py
@@ -27,7 +27,7 @@ sentry_sdk.init(
dsn=constants.FORMS_BACKEND_DSN,
send_default_pii=True,
release=SENTRY_RELEASE,
- environment=SENTRY_RELEASE
+ environment=SENTRY_RELEASE,
)
middleware = [
@@ -36,10 +36,10 @@ middleware = [
allow_origins=["https://forms.pythondiscord.com"],
allow_origin_regex=ALLOW_ORIGIN_REGEX,
allow_headers=[
- "Content-Type"
+ "Content-Type",
],
allow_methods=["*"],
- allow_credentials=True
+ allow_credentials=True,
),
Middleware(DatabaseMiddleware),
Middleware(AuthenticationMiddleware, backend=JWTAuthenticationBackend()),