From 52c786d290c7c5e98330820590ac95d039e973f7 Mon Sep 17 00:00:00 2001 From: lesion Date: Fri, 7 Apr 2023 21:14:01 +0200 Subject: [PATCH] copy online_location in recurrent events --- server/api/controller/event.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/api/controller/event.js b/server/api/controller/event.js index 2cc30629..e9330d4d 100644 --- a/server/api/controller/event.js +++ b/server/api/controller/event.js @@ -677,7 +677,8 @@ const eventController = { media: e.media, is_visible: true, userId: e.userId, - placeId: e.placeId + placeId: e.placeId, + ...(e.online_locations && { online_locations: e.online_locations } ) } const recurrentDetails = e.recurrent