Skip to content

Commit

Permalink
Merge pull request #68 from ecspresso/patch-2
Browse files Browse the repository at this point in the history
Bulk destroying configs - fixed invalid URI
  • Loading branch information
adrianwells authored Jan 31, 2019
2 parents dfc266d + 025b19a commit 7cb562c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ITGlueAPI/ITGlueAPI.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RootModule = '.\ITGlueAPI.psm1'
# -- MINOR version when you add functionality in a backwards-compatible manner, and
# -- PATCH version when you make backwards-compatible bug fixes.

ModuleVersion = '2.0.6'
ModuleVersion = '2.0.7'

# ID used to uniquely identify this module
#GUID = ''
Expand Down
6 changes: 1 addition & 5 deletions ITGlueAPI/Resources/Configurations.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,7 @@ function Remove-ITGlueConfigurations {
$data
)

$resource_uri = ('/configurations/{0}' -f $id)

if ($flexible_asset_type_id) {
$resource_uri = ('/organizations/{0}/relationships/configurations/{1}' -f $organization_id, $id)
}
$resource_uri = '/configurations/'

$body = @{}

Expand Down

0 comments on commit 7cb562c

Please sign in to comment.