Skip to content

Commit fd097aa

Browse files
authored
Merge pull request #232 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 3b3584b + 7e2baf0 commit fd097aa

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecCippReplacemap.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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]@{

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Endpoint/Applications/Invoke-AddMSPApp.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using 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'

0 commit comments

Comments
 (0)