Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
🎨 Make recurrence rule optional for create
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasrohmer committed Jul 17, 2021
1 parent a243964 commit 1b8bda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Validators/v1/OfferValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class CreateOfferValidator {
name: schema.string({ trim: true }),
description: schema.string.optional({ trim: true }),
status: schema.enum.optional(Object.values(OfferStatus)),
recurrenceRule: schema.string({ trim: true }),
recurrenceRule: schema.string.optional({ trim: true }),
}),
relations: schema.object.optional().members({
address: schema.object.optional().members({
Expand Down

0 comments on commit 1b8bda6

Please sign in to comment.