From d6c457df0a4c3ff6d28a06566a10695d69d19b65 Mon Sep 17 00:00:00 2001 From: jannikac Date: Fri, 28 Jun 2024 12:51:13 +0200 Subject: [PATCH] Update lib/ical/timezone_service.js Co-authored-by: Philipp Kewisch --- lib/ical/timezone_service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ical/timezone_service.js b/lib/ical/timezone_service.js index 7441348a..a804dd49 100644 --- a/lib/ical/timezone_service.js +++ b/lib/ical/timezone_service.js @@ -98,7 +98,7 @@ const TimezoneService = { } } - if (!timezone.tzid && !name) { + if (!name) { throw new TypeError("Neither a timezone nor a name was passed"); }