diff --git a/services/web/app/coffee/Features/Notifications/NotificationsHandler.coffee b/services/web/app/coffee/Features/Notifications/NotificationsHandler.coffee index 6d0b6ccfbf..f14139e107 100644 --- a/services/web/app/coffee/Features/Notifications/NotificationsHandler.coffee +++ b/services/web/app/coffee/Features/Notifications/NotificationsHandler.coffee @@ -5,7 +5,7 @@ logger = require("logger-sharelatex") oneSecond = 1000 makeRequest = (opts, callback)-> - if !settings.apis.notifications.url? + if !settings.apis.notifications?.url? return callback() else request(opts, callback)