Skip to content

Commit ff2e3ae

Browse files
authored
Modify params to be idiomatic
These functions haven't been released to PS Gallery yet, so no breaking changes.
1 parent 281fb16 commit ff2e3ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ITGlueAPI/Resources/Attachments.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ function Set-ITGlueAttachments {
4848
[int64]$resource_id,
4949

5050
[Parameter(Mandatory = $true)]
51-
[int64]$attachment_id,
51+
[int64]$id,
5252

5353
[Parameter(Mandatory = $true)]
5454
$data
5555

5656
)
5757

58-
$resource_uri = ('/{0}/{1}/relationships/attachments/{2}' -f $resource_type, $resource_id, $attachment_id)
58+
$resource_uri = ('/{0}/{1}/relationships/attachments/{2}' -f $resource_type, $resource_id, $id)
5959

6060
$body = @{}
6161

0 commit comments

Comments
 (0)