From 1b8bda6de8cacb249e77600472f531357762fc67 Mon Sep 17 00:00:00 2001 From: Matthias Rohmer Date: Sat, 17 Jul 2021 10:30:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Make=20recurrence=20rule=20optio?= =?UTF-8?q?nal=20for=20create?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Validators/v1/OfferValidator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Validators/v1/OfferValidator.ts b/app/Validators/v1/OfferValidator.ts index c821102f..13df30fe 100644 --- a/app/Validators/v1/OfferValidator.ts +++ b/app/Validators/v1/OfferValidator.ts @@ -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({