Skip to content

Commit

Permalink
fix(GoalDependencies): drop cuid validatation check
Browse files Browse the repository at this point in the history
  • Loading branch information
LamaEats committed Jul 20, 2023
1 parent 54cd60b commit f5d53a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/schema/goal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const toggleGoalDependencySchema = z.object({
id: z.string().optional(),
kind: z.nativeEnum(dependencyKind),
relation: z.object({
id: z.string().cuid({
message: tr('Choose a dependency'),
id: z.string({
required_error: tr('Choose a dependency'),
}),
}),
});
Expand Down

0 comments on commit f5d53a7

Please sign in to comment.