Skip to content

Commit

Permalink
Bug Fixed - 1574 - JSON Schema Field issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Anubhav Singh committed Nov 23, 2023
1 parent edc46da commit 0403308
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 0403308

Please sign in to comment.