From 1344f1fff0d74bd650c44a00f5400fbc1e42e4b4 Mon Sep 17 00:00:00 2001 From: Batiste1998 Date: Fri, 30 Aug 2024 16:00:32 +0200 Subject: [PATCH] [#75] - add string price to events --- backend/web/server/plugins/cyberleague/schemas/EventSchema.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/web/server/plugins/cyberleague/schemas/EventSchema.js b/backend/web/server/plugins/cyberleague/schemas/EventSchema.js index 60f8ed0f6e..8edfa00082 100644 --- a/backend/web/server/plugins/cyberleague/schemas/EventSchema.js +++ b/backend/web/server/plugins/cyberleague/schemas/EventSchema.js @@ -54,6 +54,10 @@ const EventSchema = new Schema({ required: true, default: EVENT_VISIBILITY_PUBLIC, }, + price: { + type: String, + required: false + }, }, schemaOptions) /* eslint-disable prefer-arrow-callback */