mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1045 from sharelatex/bg-fix-missing-next-in-subscription-group-controller
fix missing next argument GitOrigin-RevId: 290741a98a3fb7463d6a6dd052f90c8ffe4e62ce
This commit is contained in:
parent
b123f830ff
commit
7af86b0704
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ module.exports =
|
||||||
return res.sendStatus 500
|
return res.sendStatus 500
|
||||||
res.send()
|
res.send()
|
||||||
|
|
||||||
exportGroupCsv: (req, res)->
|
exportGroupCsv: (req, res, next)->
|
||||||
user_id = AuthenticationController.getLoggedInUserId(req)
|
user_id = AuthenticationController.getLoggedInUserId(req)
|
||||||
logger.log user_id: user_id, "exporting group csv"
|
logger.log user_id: user_id, "exporting group csv"
|
||||||
getManagedSubscription user_id, (err, subscription)->
|
getManagedSubscription user_id, (err, subscription)->
|
||||||
|
@ -71,7 +71,7 @@ module.exports =
|
||||||
res.send(groupCsv)
|
res.send(groupCsv)
|
||||||
|
|
||||||
# legacy route
|
# legacy route
|
||||||
redirectToSubscriptionGroupAdminPage: (req, res) ->
|
redirectToSubscriptionGroupAdminPage: (req, res, next) ->
|
||||||
user_id = AuthenticationController.getLoggedInUserId(req)
|
user_id = AuthenticationController.getLoggedInUserId(req)
|
||||||
getManagedSubscription user_id, (error, subscription) ->
|
getManagedSubscription user_id, (error, subscription) ->
|
||||||
return next(error) if error?
|
return next(error) if error?
|
||||||
|
|
Loading…
Reference in a new issue