@@ -187,7 +187,7 @@ class UnAssociation(APIView):
187187 authentication_classes = [TokenAuth ]
188188
189189 @extend_schema (
190- methods = ['PUT ' ],
190+ methods = ['GET ' ],
191191 summary = _ ('Disassociation issue' ),
192192 description = _ ('Disassociation issue' ),
193193 operation_id = _ ('Disassociation issue' ),
@@ -196,7 +196,7 @@ class UnAssociation(APIView):
196196 tags = [_ ('Knowledge Base/Documentation/Paragraph' )]
197197 )
198198 @has_permissions (PermissionConstants .DOCUMENT_EDIT .get_workspace_permission ())
199- def put (self , request : Request ,
199+ def get (self , request : Request ,
200200 workspace_id : str , knowledge_id : str , document_id : str , paragraph_id : str , problem_id : str ):
201201 return result .success (ParagraphSerializers .Association (
202202 data = {
@@ -212,7 +212,7 @@ class Association(APIView):
212212 authentication_classes = [TokenAuth ]
213213
214214 @extend_schema (
215- methods = ['PUT ' ],
215+ methods = ['GET ' ],
216216 summary = _ ('Related questions' ),
217217 description = _ ('Related questions' ),
218218 operation_id = _ ('Related questions' ),
@@ -221,7 +221,7 @@ class Association(APIView):
221221 tags = [_ ('Knowledge Base/Documentation/Paragraph' )]
222222 )
223223 @has_permissions (PermissionConstants .DOCUMENT_EDIT .get_workspace_permission ())
224- def put (self , request : Request ,
224+ def get (self , request : Request ,
225225 workspace_id : str , knowledge_id : str , document_id : str , paragraph_id : str , problem_id : str ):
226226 return result .success (ParagraphSerializers .Association (
227227 data = {
0 commit comments