Skip to content

Scheduling infrastructure for absolutely everyone.

Made location optional

nicolas4dd8359a151a
diff --git a/lib/events/EventManager.ts b/lib/events/EventManager.ts
index 050f870d343..be68f58b903 100644
--- a/lib/events/EventManager.ts
+++ b/lib/events/EventManager.ts
@@ -235,7 +235,7 @@ export default class EventManager {
* @private
*/
private static isIntegration(location: string): boolean {
- return location.includes("integrations:");
+ return location?.includes("integrations:");
}
/**