Skip to content

Commit 7b2a48e

Browse files
authored
Merge pull request #77 from Sam-Martin/development
v1.5.3 - Correct New-ServiceNowIncident
2 parents 9ebb6fb + b2354be commit 7b2a48e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ServiceNow/Public/New-ServiceNowIncident.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function New-ServiceNowIncident{
163163
{
164164
$newServiceNowTableEntrySplat.Add('Connection',$Connection)
165165
}
166-
elseif ($null -ne $PSBoundParameters.Credential -and $null -ne $PSBoundParameters.ServiceNowURL)
166+
elseif ($null -ne $PSBoundParameters.ServiceNowCredential -and $null -ne $PSBoundParameters.ServiceNowURL)
167167
{
168168
$newServiceNowTableEntrySplat.Add('ServiceNowCredential',$ServiceNowCredential)
169169
$newServiceNowTableEntrySplat.Add('ServiceNowURL',$ServiceNowURL)

ServiceNow/ServiceNow.psd1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'ServiceNow.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.5.2'
15+
ModuleVersion = '1.5.3'
1616

1717
# ID used to uniquely identify this module
1818
GUID = 'b90d67da-f8d0-4406-ad74-89d169cd0633'
@@ -122,6 +122,8 @@ PrivateData = @{
122122

123123

124124

125+
126+
125127

126128

127129

0 commit comments

Comments
 (0)