Skip to content

Commit

Permalink
fix variable name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferrisx4 committed Jun 22, 2019
1 parent cb28072 commit 1e75b04
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 1e75b04

Please sign in to comment.