revert structuredClone as it is not supported on proxy objects

This commit is contained in:
Amruth Pillai
2024-05-10 11:27:13 +02:00
parent a102f62e28
commit c15d9f7645
10 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ export class LinkedInParser implements Parser<JSZip, LinkedIn> {
}
convert(data: LinkedIn) {
const result = structuredClone(defaultResumeData);
const result = JSON.parse(JSON.stringify(defaultResumeData));
// Profile
if (data.Profile && data.Profile.length > 0) {