Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion module/Public/Invoke-nbApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function Invoke-nbApi {
)
$PSCmdlet.ThrowTerminatingError($errorRecord)
}
if ($Body.GetType().FullName -eq [hashtable].FullName)
if ($null -ne $Body -and $Body.GetType().FullName -eq [hashtable].FullName)
{
Write-Verbose -Message "Converting the hashtable body into an object"
$Body = [PSCustomObject]$Body
Expand Down
2 changes: 1 addition & 1 deletion module/Version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.4
2.3.5
2 changes: 1 addition & 1 deletion module/powerbox.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'powerbox.psm1'

# Version number of this module.
ModuleVersion = '2.3.4'
ModuleVersion = '2.3.5'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down