We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b2ffc commit 7e5b8f4Copy full SHA for 7e5b8f4
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecBrandingSettings.ps1
@@ -18,7 +18,7 @@ Function Invoke-ExecBrandingSettings {
18
$Results = @{}
19
20
try {
21
- $Table = Get-CIPPTable -TableName Settings
+ $Table = Get-CIPPTable -TableName Config
22
$Filter = "PartitionKey eq 'BrandingSettings' and RowKey eq 'BrandingSettings'"
23
$BrandingConfig = Get-CIPPAzDataTableEntity @Table -Filter $Filter
24
@@ -62,6 +62,7 @@ Function Invoke-ExecBrandingSettings {
62
63
$ImageBytes = [Convert]::FromBase64String($Base64Data)
64
if ($ImageBytes.Length -le 2097152) {
65
+ Write-Host 'updating logo'
66
$BrandingConfig.logo = $Logo
67
$Updated = $true
68
} else {
0 commit comments