Skip to content

Commit

Permalink
fix: error on optional service fields
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Feb 5, 2024
1 parent fec99c5 commit 8aba88b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ export function validateConfigSchema(config: any) {
})

const service = z.object({
title: z.string().optional(),
description: z.string().optional(),
link: z.string().optional(),
title: z.string().nullish().optional(),
description: z.string().nullish().optional(),
link: z.string().nullish().optional(),
target: z.string().optional(),
icon: icon.optional(),
status: status.optional(),
Expand Down

0 comments on commit 8aba88b

Please sign in to comment.