Skip to content

Commit 09398a6

Browse files
committed
fix: make subtitle nullable
1 parent 2162345 commit 09398a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/schema/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const userExperienceInputBaseSchema = z.object({
1313
type: z.enum(UserExperienceType),
1414
title: z.string().max(1000).nonempty(),
1515
description: z.string().max(5000).optional(),
16-
subtitle: z.string().max(1000).optional(),
16+
subtitle: z.string().max(1000).optional().nullable(),
1717
startedAt: z.date(),
1818
endedAt: z.date().optional().nullable().default(null),
1919
companyId: z.string().nullable().optional().default(null),

0 commit comments

Comments
 (0)