Skip to content

Commit

Permalink
FIX: error when no description is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Chr1s70ph authored Nov 2, 2022
1 parent 3552b9f commit 3c228ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactions/private/wochenplan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function wochenplan(
)})__`
}

if (weekdayEvent.description.indexOf('https://kit-lecture.zoom.us') !== -1) {
if (weekdayEvent.description?.indexOf('https://kit-lecture.zoom.us') !== -1) {
/**
* Add zoom hyperlink if available
*/
Expand Down

0 comments on commit 3c228ca

Please sign in to comment.