Skip to content

Commit

Permalink
Update AuthContext.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tommygonzaleza authored Sep 12, 2024
1 parent 03273a1 commit 791ab1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/context/AuthContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 791ab1a

Please sign in to comment.