mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add null check on notifications handler
This commit is contained in:
parent
8d79b37651
commit
51df3825e5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue