change WebhookPassword back to string

This commit is contained in:
2025-11-27 22:49:41 -05:00
parent 87dddb3ef9
commit 086e02aba7

View File

@@ -194,7 +194,7 @@ $ConfirmPreference = 'None'
[Parameter(Mandatory,ParameterSetName='DattoFetch')]
[Parameter(Mandatory,ParameterSetName='DattoInstall')]
[SecureString]$WebhookPassword,
[String]$WebhookPassword,
[string]$WebhookUrl = $Global:DattoWebhookUrl,
@@ -1505,7 +1505,7 @@ function Install-DattoRMM {
[CmdletBinding(SupportsShouldProcess=$true, ConfirmImpact='Medium')]
param (
[switch]$UseWebhook,
[SecureString]$WebhookPassword,
[String]$WebhookPassword,
[string]$WebhookUrl = $Global:DattoWebhookUrl,
[string]$ApiUrl,
[string]$ApiKey,