mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 03:21:56 +02:00
Maintain backwards compatibility with old holding accounts in removal end points
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user