File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -758,30 +758,12 @@ protected function processMultiPutResponse($response)
758
758
759
759
protected function processIndividualDeleteResponse ($ response )
760
760
{
761
- if ($ this ->getApiDataField () != null ){
762
- $ data = $ response ->json ()[$ this ->getApiDataField ()];
763
- } else {
764
- $ data = $ response ->json ();
765
- }
766
- if (isset ($ data [0 ])){
767
- return $ this ->resource ->updateFromBuilder ($ this ->resource ->passOnAttributes ($ data [0 ]));
768
- } else {
769
- return $ this ->resource ->updateFromBuilder ($ this ->resource ->passOnAttributes ($ data ));
770
- }
761
+ return true ;
771
762
}
772
763
773
764
protected function processMultiDeleteResponse ($ response )
774
765
{
775
- // if($this->getApiDataField() != null){
776
- // $data = $response->json()[$this->getApiDataField()];
777
- // } else {
778
- // $data = $response->json();
779
- // }
780
- // if(isset($data[0])){
781
- // return $this->resource->newFromBuilder($this->resource->passOnAttributes($data[0]));
782
- // } else {
783
- // return $this->resource->newFromBuilder($this->resource->passOnAttributes($data));
784
- // }
766
+ return true ;
785
767
}
786
768
787
769
public function prepareHttpErrorMessage ($ response )
You can’t perform that action at this time.
0 commit comments