summaryrefslogtreecommitdiff
path: root/lib/api/v3/members.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/v3/members.rb')
-rw-r--r--lib/api/v3/members.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/v3/members.rb b/lib/api/v3/members.rb
index 19f276d5484..3d4972afd9d 100644
--- a/lib/api/v3/members.rb
+++ b/lib/api/v3/members.rb
@@ -119,6 +119,7 @@ module API
# This is to ensure back-compatibility but 204 behavior should be used
# for all DELETE endpoints in 9.0!
if member.nil?
+ status(200 )
{ message: "Access revoked", id: params[:user_id].to_i }
else
::Members::DestroyService.new(source, current_user, declared_params).execute