From 791ab1a9e1354332ea20adc2e0b3ee0278b6746c Mon Sep 17 00:00:00 2001 From: Tomas Gonzalez <56565994+tommygonzaleza@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:35:17 -0400 Subject: [PATCH] Update AuthContext.jsx --- src/common/context/AuthContext.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/context/AuthContext.jsx b/src/common/context/AuthContext.jsx index caebf9264..2dc5262ef 100644 --- a/src/common/context/AuthContext.jsx +++ b/src/common/context/AuthContext.jsx @@ -196,7 +196,7 @@ function AuthProvider({ children, pageProps }) { method: 'native', user_id: data.id, email: data.email, - is_academy_legacy: data.roles.some(r => r.academy.id === 6), + is_academy_legacy: data.roles.some((r) => r.academy.id === 6), first_name: data.first_name, last_name: data.last_name, avatar_url: data.profile?.avatar_url || data.github?.avatar_url,