diff --git a/frontend/src/lib/components/Header.svelte b/frontend/src/lib/components/Header.svelte index 4f42cff..4f75c75 100644 --- a/frontend/src/lib/components/Header.svelte +++ b/frontend/src/lib/components/Header.svelte @@ -46,8 +46,8 @@
{`${$page.data.user.first_name} diff --git a/frontend/src/routes/auth/about/[id]/+page.server.js b/frontend/src/routes/auth/about/[id]/+page.server.js index 454a509..dbad482 100644 --- a/frontend/src/routes/auth/about/[id]/+page.server.js +++ b/frontend/src/routes/auth/about/[id]/+page.server.js @@ -99,7 +99,7 @@ export const actions = { return { success: true, - thumbnail: response["s3_url"], + profile_picture: response[""], }; }, /** @@ -132,7 +132,7 @@ export const actions = { return { success: true, - thumbnail: "", + profile_picture: "", }; }, }; diff --git a/frontend/src/routes/auth/about/[id]/+page.svelte b/frontend/src/routes/auth/about/[id]/+page.svelte index 245a3ff..45ede1a 100644 --- a/frontend/src/routes/auth/about/[id]/+page.svelte +++ b/frontend/src/routes/auth/about/[id]/+page.svelte @@ -108,7 +108,7 @@ /** @type {any} */ const res = result; if (result.type === "success" || result.type === "redirect") { - user.thumbnail = res.data.thumbnail; + user.profile_picture = res.data.profile_picture; } await applyAction(result); }; @@ -118,7 +118,7 @@