diff --git a/client/services/resume.ts b/client/services/resume.ts index a6f28a54..b8e61810 100644 --- a/client/services/resume.ts +++ b/client/services/resume.ts @@ -71,7 +71,7 @@ export const fetchResumeByIdentifier = async ({ console.log('ResumeService~fetchResumeByIdentifier', 'using axios', JSON.stringify(resume)); - const resumeJSON = fetch(env('SERVER_URL') + `/resume/${username}/${slug}?secretKey=${secretKey}`).then( + const resumeJSON = await fetch(env('SERVER_URL') + `/resume/${username}/${slug}?secretKey=${secretKey}`).then( (response) => response.json() );