Skip to content

Commit

Permalink
Update New-PasswordStateDocument.ps1
Browse files Browse the repository at this point in the history
fix typo of contenttype parameter.
  • Loading branch information
dnewsholme authored Oct 1, 2024
1 parent 1a77892 commit be71556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/New-PasswordStateDocument.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$splatparams = @{
"uri" = "/api/document/$($resourcetype)/$($ID)?DocumentName=$($documentname)&DocumentDescription=$($documentdescription)"
"extraparams" = @{"InFile" = "$Path"}
"contentype" = 'multipart/form-data'
"contenttype" = 'multipart/form-data'
"ErrorAction" = "stop"
}
$output += New-PasswordStateResource @splatparams
Expand All @@ -37,4 +37,4 @@
end {
return $output
}
}
}

0 comments on commit be71556

Please sign in to comment.