Skip to content

Commit 9138a56

Browse files
committed
fix missing parse call
1 parent 410c3f2 commit 9138a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/9/en/part9c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ export const toNewDiaryEntry = (object: unknown): NewDiaryEntry => {
15491549
const newEntry: NewDiaryEntry = {
15501550
weather: parseWeather(object.weather),
15511551
visibility: parseVisibility(object.visibility),
1552-
date: z.string().date().(object.date), // highlight-line
1552+
date: z.string().date().parse(object.date), // highlight-line
15531553
comment: z.string().optional().parse(object.comment) // highlight-line
15541554
};
15551555

0 commit comments

Comments
 (0)