mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 03:01:38 +00:00
Fix double-callback
This commit is contained in:
parent
1137ab0715
commit
59ab66fca2
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ else
|
|||
|
||||
checkCanSendEmail = (options, callback)->
|
||||
if !options.sendingUser_id? #email not sent from user, not rate limited
|
||||
callback(null, true)
|
||||
return callback(null, true)
|
||||
opts =
|
||||
endpointName: "send_email"
|
||||
timeInterval: 60 * 60 * 3
|
||||
|
|
Loading…
Reference in a new issue