Skip to content

Commit

Permalink
Corrected path check (#59)
Browse files Browse the repository at this point in the history
* Corrected path check

Get-ITGlueConfigurations did not return data when only using parameter `-id`. See #58 for more information.

* Updated patch version
  • Loading branch information
Emile authored and adrianwells committed Jan 17, 2019
1 parent af71ab0 commit 72f8b41
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ITGlueAPI/Resources/Configurations.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ function Get-ITGlueConfigurations {
$body += @{'page[size]' = $page_size}
}
}
else {
#Parameter set "Show" is selected; switch to nested relationships route
$resource_uri = ('/organizations/{0}/relationships/configurations/{1}' -f $organization_id, $id)
}

if($include) {
$body += @{'include' = $include}
Expand Down

0 comments on commit 72f8b41

Please sign in to comment.