Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Commit

Permalink
return response in array
Browse files Browse the repository at this point in the history
  • Loading branch information
Kresna Satya committed Apr 1, 2022
1 parent fd68bcf commit 508c41b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function storeAssignedClientRoles($group_id, $client_id, $roles)
$result = json_decode($response, true);
}

return $result;
return array($result, $httpcode);
}

public function deleteAssignedClientRoles($group_id, $client_id, $roles)
Expand Down Expand Up @@ -246,7 +246,7 @@ public function deleteAssignedClientRoles($group_id, $client_id, $roles)
$result = json_decode($response, true);
}

return $result;
return array($result, $httpcode);
}

public function members($group_id, $params = array())
Expand Down

0 comments on commit 508c41b

Please sign in to comment.