From 2cd3dc2f9db7b926ae9dc19e90ccd02ba15d42db Mon Sep 17 00:00:00 2001 From: pablohashescobar Date: Thu, 22 Jun 2023 19:01:15 +0530 Subject: [PATCH] dev: remove delete endpoint response data --- apiserver/plane/api/views/issue.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apiserver/plane/api/views/issue.py b/apiserver/plane/api/views/issue.py index d41d1574d..5a08b0f0c 100644 --- a/apiserver/plane/api/views/issue.py +++ b/apiserver/plane/api/views/issue.py @@ -925,8 +925,7 @@ class IssueSubscriberViewSet(BaseViewSet): ) issue_subscriber.delete() return Response( - {"message": "Removed Subscription"}, - status=status.HTTP_200_OK, + status=status.HTTP_204_NO_CONTENT, ) except IssueSubscriber.DoesNotExist: return Response(