Преглед на файлове

Maintain backwards compatibility with old holding accounts in removal end points

James Allen преди 9 години
родител
ревизия
69bc6fc8e4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      services/web/public/coffee/main/group-members.coffee

+ 1 - 1
services/web/public/coffee/main/group-members.coffee

@@ -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}"