From 72f8b41d94b89c4625ee04e489bfd8118b0d0f9a Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 17 Jan 2019 18:18:36 +0100 Subject: [PATCH] Corrected path check (#59) * Corrected path check Get-ITGlueConfigurations did not return data when only using parameter `-id`. See #58 for more information. * Updated patch version --- ITGlueAPI/Resources/Configurations.ps1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ITGlueAPI/Resources/Configurations.ps1 b/ITGlueAPI/Resources/Configurations.ps1 index bdc135f..49e24ba 100755 --- a/ITGlueAPI/Resources/Configurations.ps1 +++ b/ITGlueAPI/Resources/Configurations.ps1 @@ -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}