From faab1c0c33c3afb78dde7a72624fea8e3d415203 Mon Sep 17 00:00:00 2001 From: Pauline Date: Tue, 10 Sep 2024 20:13:42 +0100 Subject: [PATCH] Fix formatting --- pages/login.tsx | 2 +- pages/registration.tsx | 2 +- pages/settings.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/login.tsx b/pages/login.tsx index 257828c..512db40 100644 --- a/pages/login.tsx +++ b/pages/login.tsx @@ -58,7 +58,7 @@ const Login: NextPage = () => { // Otherwise we initialize it ory .createBrowserLoginFlow({ - refresh: loginChallenge? true : Boolean(refresh), + refresh: loginChallenge ? true : Boolean(refresh), aal: aal ? String(aal) : undefined, returnTo: returnTo ? String(returnTo) : undefined, loginChallenge: loginChallenge ? String(loginChallenge) : undefined, diff --git a/pages/registration.tsx b/pages/registration.tsx index 365ceee..26b1376 100644 --- a/pages/registration.tsx +++ b/pages/registration.tsx @@ -74,7 +74,7 @@ const Registration: NextPage = () => { ...parseObject(values), traits: { ...parseObject(values).traits, - projects: [project] + projects: [project], }, } await router diff --git a/pages/settings.tsx b/pages/settings.tsx index cf4b969..09967d1 100644 --- a/pages/settings.tsx +++ b/pages/settings.tsx @@ -103,7 +103,7 @@ const Settings: NextPage = () => { flow: String(flow?.id), updateSettingsFlowBody: { ...values, - 'csrf_token': csrfToken + csrf_token: csrfToken, }, }) .then(({ data }) => {