Skip to content

Commit

Permalink
Merge pull request #26 from Ferrisx4/25-groups_update_typo
Browse files Browse the repository at this point in the history
fix variable name typo
  • Loading branch information
spficklin authored Jun 23, 2019
2 parents cb28072 + 1e75b04 commit 9b98c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Groups.inc
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ class GalaxyGroups extends GalaxyAPIService {
$URL = $this->galaxy->getURL() . '/api/groups/' . $params['group_id'] . '/?key=' . $this->galaxy->getAPIKey();

if (array_key_exists('user_ids', $params))
$params['user_ids'] = json_encode($user_ids);
$params['user_ids'] = json_encode($params['user_ids']);

if (array_key_exists('role_ids', $params))
$params['role_ids'] = json_encode($role_ids);
$params['role_ids'] = json_encode($params['role_ids']);

$response = $this->galaxy->httpPUT($URL, $params);
return $response;
Expand Down

0 comments on commit 9b98c6f

Please sign in to comment.