Skip to content

Commit

Permalink
Merge pull request #248 from snazy2000/develop
Browse files Browse the repository at this point in the history
Fixed #246: Notes on checkin
  • Loading branch information
PetriAsi authored Nov 24, 2021
2 parents 536bff1 + 4e4a739 commit e10f520
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions SnipeitPS/Public/Reset-SnipeitAssetOwner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.PARAMETER location_id
Location id to change asset location to
.PARAMETER notes
.PARAMETER note
Notes about checkin
.PARAMETER url
Expand All @@ -37,7 +37,7 @@ function Reset-SnipeitAssetOwner() {

[int]$location_id,

[string]$notes,
[string]$note,

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

$Values = @{
"notes" = $notes
"note" = $note
}

if ($PSBoundParameters.ContainsKey('location_id')) { $Values.Add("location_id", $location_id) }
Expand Down
4 changes: 2 additions & 2 deletions docs/Reset-SnipeitAssetOwner.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Checkin asset
## SYNTAX

```
Reset-SnipeitAssetOwner [-id] <Int32> [[-status_id] <Int32>] [[-location_id] <Int32>] [[-notes] <String>]
Reset-SnipeitAssetOwner [-id] <Int32> [[-status_id] <Int32>] [[-location_id] <Int32>] [[-note] <String>]
[[-url] <String>] [[-apiKey] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

Expand Down Expand Up @@ -75,7 +75,7 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -notes
### -note
Notes about checkin
```yaml
Expand Down

0 comments on commit e10f520

Please sign in to comment.