File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ function Invoke-ExecCippReplacemap {
1010
1111 $Table = Get-CippTable - tablename ' CippReplacemap'
1212 $Action = $Request.Query.Action ?? $Request.Body.Action
13- $customerId = $Request.Query.customerId ?? $Request.Body.customerId
13+ $customerId = $Request.Query.tenantId ?? $Request.Body.tenantId
1414
1515 if (! $customerId ) {
1616 Push-OutputBinding - Name Response - Value ([HttpResponseContext ]@ {
Original file line number Diff line number Diff line change 11using namespace System.Net
22
3- Function Invoke-AddMSPApp {
3+ function Invoke-AddMSPApp {
44 <#
55 . FUNCTIONALITY
66 Entrypoint
@@ -37,10 +37,6 @@ Function Invoke-AddMSPApp {
3737 $installCommandLine = " powershell.exe -ExecutionPolicy Bypass .\install.ps1 -OrgKey $ ( $InstallParams.Orgkey ." $ ( $Tenant.customerId ) " ) -acctkey $ ( $InstallParams.AccountKey ) "
3838 $uninstallCommandLine = ' powershell.exe -ExecutionPolicy Bypass .\install.ps1 -Uninstall'
3939 }
40- ' Immybot' {
41- $installCommandLine = " powershell.exe -ExecutionPolicy Bypass .\install.ps1 -url $ ( $InstallParams.ClientURL ." $ ( $tenant.customerId ) " ) "
42- $UninstallCommandLine = ' powershell.exe -ExecutionPolicy Bypass .\uninstall.ps1'
43- }
4440 ' syncro' {
4541 $installCommandLine = " powershell.exe -ExecutionPolicy Bypass .\install.ps1 -URL $ ( $InstallParams.ClientURL ." $ ( $Tenant.customerId ) " ) "
4642 $uninstallCommandLine = ' powershell.exe -ExecutionPolicy Bypass .\uninstall.ps1'
You can’t perform that action at this time.
0 commit comments