From fcf069e66cc4a2ba2250713cd6eaa1f07b9e02fe Mon Sep 17 00:00:00 2001 From: Aakash Singh <78924853+aakash2330@users.noreply.github.com> Date: Thu, 10 Oct 2024 12:52:33 +0530 Subject: [PATCH] fix:job-form-submission (#487) --- src/lib/validators/jobs.validator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/validators/jobs.validator.ts b/src/lib/validators/jobs.validator.ts index b9dab254..978b8326 100644 --- a/src/lib/validators/jobs.validator.ts +++ b/src/lib/validators/jobs.validator.ts @@ -19,7 +19,7 @@ export const JobPostSchema = z category: z.string(), companyEmail: z.string().email('Invalid email').min(1, 'Email is required'), companyBio: z.string().min(1, 'Company Bio is required'), - companyLogo: z.string().url(), + companyLogo: z.string().min(1, 'Company Logo is Required'), hasSalaryRange: z.boolean().optional(), minSalary: z.coerce .number({ message: 'Min salary must be a number' })