Skip to content

Commit

Permalink
fix: update validation message for search field to reflect 'Role' req…
Browse files Browse the repository at this point in the history
…uirement in job alert schema
  • Loading branch information
Iamsheye committed Nov 4, 2024
1 parent 4886399 commit 87de231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemas/job_alert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { z } from "zod";

export const createJobAlertSchema = z.object({
name: z.string().min(2, "Name must be at least 2 characters"),
search: z.string().min(2, "Search must be at least 2 characters"),
search: z.string().min(2, "Role must be at least 2 characters"),
description: z.string().optional(),
includeWords: z.array(z.string()).optional(),
omitWords: z.array(z.string()).optional(),
Expand Down

0 comments on commit 87de231

Please sign in to comment.