Skip to content

Commit

Permalink
Update lib/ical/timezone_service.js
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Kewisch <[email protected]>
  • Loading branch information
jannikac and kewisch authored Jun 28, 2024
1 parent 0cf85e9 commit d6c457d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ical/timezone_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const TimezoneService = {
}
}

if (!timezone.tzid && !name) {
if (!name) {
throw new TypeError("Neither a timezone nor a name was passed");
}

Expand Down

0 comments on commit d6c457d

Please sign in to comment.