mirror of
https://github.com/tale/headplane.git
synced 2026-08-31 01:09:25 +00:00
fix: store profile picture in db to prevent header overload
This commit is contained in:
@@ -103,6 +103,7 @@ export async function loader({ request, context }: Route.LoaderArgs) {
|
||||
const userId = await context.auth.findOrCreateUser(claims.sub, {
|
||||
name,
|
||||
email: userInfo.email,
|
||||
picture,
|
||||
});
|
||||
|
||||
try {
|
||||
@@ -122,7 +123,6 @@ export async function loader({ request, context }: Route.LoaderArgs) {
|
||||
name,
|
||||
email: userInfo.email,
|
||||
username,
|
||||
picture,
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user