mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Maintain backwards compatibility with old holding accounts in removal end points
This commit is contained in:
parent
4cecbae6b6
commit
69bc6fc8e4
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ define [
|
|||
$scope.removeMembers = () ->
|
||||
for user in $scope.selectedUsers
|
||||
do (user) ->
|
||||
if user.holdingAccount
|
||||
if user.holdingAccount and !user._id?
|
||||
url = "/subscription/group/email/#{user.email}"
|
||||
else
|
||||
url = "/subscription/group/user/#{user._id}"
|
||||
|
|
Loading…
Reference in a new issue