Skip to content

Commit 4f90811

Browse files
author
Emile
authored
Bug fix
New-ITGluePasswords looked for $flexible_asset_type_id instaead of $organization_id when deciding on nested route or not.
1 parent e131da9 commit 4f90811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ITGlueAPI/Resources/Passwords.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function New-ITGluePasswords {
1010

1111
$resource_uri = '/passwords/'
1212

13-
if ($flexible_asset_type_id) {
13+
if ($organization_id) {
1414
$resource_uri = ('/organizations/{0}/relationships/passwords' -f $organization_id)
1515
}
1616

0 commit comments

Comments
 (0)