mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 15:10:48 +02:00
add null check on notifications handler
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user