Skip to content

Commit

Permalink
Merge pull request #1575 from MyLiveCV/BUG-1574
Browse files Browse the repository at this point in the history
Bug Fixed - 1574 - JSON Schema Field issue
  • Loading branch information
AmruthPillai authored Nov 23, 2023
2 parents 4750410 + 0403308 commit 1bf66e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/parser/src/json-resume/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class JsonResumeParser implements Parser<Json, JsonResume> {
result.sections.certifications.items.push({
...defaultCertification,
id: createId(),
name: certificate.title ?? "",
name: certificate.name ?? "",
date: certificate.date ?? "",
issuer: certificate.issuer ?? "",
summary: certificate.summary ?? "",
Expand Down
2 changes: 1 addition & 1 deletion libs/parser/src/json-resume/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const awardsSchema = z.object({
});

const certificatesSchema = z.object({
title: z.string().optional(),
name: z.string().optional(),
date: iso8601.optional(),
issuer: z.string().optional(),
summary: z.string().optional(),
Expand Down

0 comments on commit 1bf66e5

Please sign in to comment.