From 7767cdec88e7098c488aaf51f63a028ac63346a9 Mon Sep 17 00:00:00 2001 From: lesion Date: Fri, 3 Jun 2022 12:31:53 +0200 Subject: [PATCH] fix #164 categories in ics export --- server/api/controller/export.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/controller/export.js b/server/api/controller/export.js index 6d6dbe04..765aee5c 100644 --- a/server/api/controller/export.js +++ b/server/api/controller/export.js @@ -96,7 +96,7 @@ const exportController = { location: `${e.place.name} - ${e.place.address}`, url: `${settings.baseurl}/event/${e.slug || e.id}`, status: 'CONFIRMED', - categories: e.tags, + categories: e.tags.map(t => t.tag), alarms } })