Skip to content

Commit 4e4a739

Browse files
authored
Merge pull request #247 from PetriAsi/fix/#246
fix #246
2 parents ec40912 + 2f18734 commit 4e4a739

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

SnipeitPS/Public/Reset-SnipeitAssetOwner.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.PARAMETER location_id
1414
Location id to change asset location to
1515
16-
.PARAMETER notes
16+
.PARAMETER note
1717
Notes about checkin
1818
1919
.PARAMETER url
@@ -37,7 +37,7 @@ function Reset-SnipeitAssetOwner() {
3737

3838
[int]$location_id,
3939

40-
[string]$notes,
40+
[string]$note,
4141

4242
[parameter(mandatory = $false)]
4343
[string]$url,
@@ -49,7 +49,7 @@ function Reset-SnipeitAssetOwner() {
4949
Test-SnipeitAlias -invocationName $MyInvocation.InvocationName -commandName $MyInvocation.MyCommand.Name
5050

5151
$Values = @{
52-
"notes" = $notes
52+
"note" = $note
5353
}
5454

5555
if ($PSBoundParameters.ContainsKey('location_id')) { $Values.Add("location_id", $location_id) }

docs/Reset-SnipeitAssetOwner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Checkin asset
1313
## SYNTAX
1414

1515
```
16-
Reset-SnipeitAssetOwner [-id] <Int32> [[-status_id] <Int32>] [[-location_id] <Int32>] [[-notes] <String>]
16+
Reset-SnipeitAssetOwner [-id] <Int32> [[-status_id] <Int32>] [[-location_id] <Int32>] [[-note] <String>]
1717
[[-url] <String>] [[-apiKey] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

@@ -75,7 +75,7 @@ Accept pipeline input: False
7575
Accept wildcard characters: False
7676
```
7777
78-
### -notes
78+
### -note
7979
Notes about checkin
8080
8181
```yaml

0 commit comments

Comments
 (0)