Skip to content

Commit dfc266d

Browse files
author
adrianwells
authored
Merge pull request #64 from ecspresso/patch-2
Corrected Remove-ITGlueContacts paths
2 parents 72f8b41 + b1879a2 commit dfc266d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ITGlueAPI/ITGlueAPI.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RootModule = '.\ITGlueAPI.psm1'
1818
# -- MINOR version when you add functionality in a backwards-compatible manner, and
1919
# -- PATCH version when you make backwards-compatible bug fixes.
2020

21-
ModuleVersion = '2.0.5'
21+
ModuleVersion = '2.0.6'
2222

2323
# ID used to uniquely identify this module
2424
#GUID = ''

ITGlueAPI/Resources/Contacts.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@ function Remove-ITGlueContacts {
262262
$data
263263
)
264264

265-
$resource_uri = ('/configurations/{0}' -f $id)
265+
$resource_uri = ('/contacts/{0}' -f $id)
266266

267267
if ($flexible_asset_type_id) {
268-
$resource_uri = ('/organizations/{0}/relationships/configurations/{1}' -f $organization_id, $id)
268+
$resource_uri = ('/organizations/{0}/relationships/contacts/{1}' -f $organization_id, $id)
269269
}
270270

271271
$body = @{}
@@ -314,4 +314,4 @@ function Remove-ITGlueContacts {
314314
$data = @{}
315315
$data = $rest_output
316316
return $data
317-
}
317+
}

0 commit comments

Comments
 (0)