Skip to content

Commit

Permalink
Return redirect result
Browse files Browse the repository at this point in the history
  • Loading branch information
Deeds67 committed Jan 6, 2025
1 parent 7ffe585 commit a4f456a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ export const meta: MetaFunction = () => {
export async function loader({ request }: LoaderFunctionArgs) {
// We have requested this to be updated to the auth.callback endpoint, but it has not yet been done.
// As a workaround, we will call the authUserRemixOAuth function here, instead of in the `auth.callback.tsx` route.
await authUserRemixOAuth(request);

return data(null);
return await authUserRemixOAuth(request);
}

async function authUserRemixOAuth(request: Request) {
Expand Down

0 comments on commit a4f456a

Please sign in to comment.