Skip to content

Commit

Permalink
trim job names
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Oct 20, 2024
1 parent 0d1bc71 commit afcfacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/jobs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const jobs: Record<string, { run: () => Promise<void>; schedule: string }> = {
};

const jobSchema = z.object({
job: z.array(z.string()).optional(),
job: z.array(z.string().transform((value) => value.trim())).optional(),
runOnce: z.boolean().optional(),
});

Expand Down

0 comments on commit afcfacd

Please sign in to comment.