From 62e45a997db1589cf5dd1290ce5a21b8a6c9d3eb Mon Sep 17 00:00:00 2001 From: Giovanni Ravalico <15946771+suddenlyGiovanni@users.noreply.github.com> Date: Wed, 22 May 2024 13:13:04 +0200 Subject: [PATCH] feat(web-app): update resume route to fetch specific resume The resume route in the web-app module has been updated to fetch a specific resume called 'schema-resume/update-experience-bettermarks' instead of the default one. It's now more flexible when dealing with different resumes. Signed-off-by: Giovanni Ravalico <15946771+suddenlyGiovanni@users.noreply.github.com> --- apps/web/app/routes/resume/route.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/app/routes/resume/route.tsx b/apps/web/app/routes/resume/route.tsx index 808c3bd7..8a1a55b3 100644 --- a/apps/web/app/routes/resume/route.tsx +++ b/apps/web/app/routes/resume/route.tsx @@ -48,7 +48,7 @@ export const links: LinksFunction = () => { export const loader = loaderFunction( () => Effect.gen(function* () { - const { resume, meta } = yield* ResumeRepository.getResume() + const { resume, meta } = yield* ResumeRepository.getResume('schema-resume/update-experience-bettermarks') return json({ resume, meta }) }), // still need to handle the error cases here!!