mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
Remove logs.
This commit is contained in:
@@ -33,7 +33,6 @@ module.exports = UserEmailsController =
|
||||
|
||||
remove: (req, res, next) ->
|
||||
userId = AuthenticationController.getLoggedInUserId(req)
|
||||
logger.log req.params
|
||||
email = EmailHelper.parseEmail(req.params.email)
|
||||
return res.sendStatus 422 unless email?
|
||||
|
||||
|
||||
@@ -89,7 +89,6 @@ define [
|
||||
UserAffiliationsDataService
|
||||
.setDefaultUserEmail email
|
||||
.then () -> _getUserEmails()
|
||||
.catch () -> console.log "fodeu"
|
||||
|
||||
$scope.removeUserEmail = (email) ->
|
||||
$scope.ui.isLoadingEmails = true
|
||||
|
||||
Reference in New Issue
Block a user