Skip to content

Commit 7e5b8f4

Browse files
stupid bug
1 parent 81b2ffc commit 7e5b8f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Function Invoke-ExecBrandingSettings {
1818
$Results = @{}
1919

2020
try {
21-
$Table = Get-CIPPTable -TableName Settings
21+
$Table = Get-CIPPTable -TableName Config
2222
$Filter = "PartitionKey eq 'BrandingSettings' and RowKey eq 'BrandingSettings'"
2323
$BrandingConfig = Get-CIPPAzDataTableEntity @Table -Filter $Filter
2424

@@ -62,6 +62,7 @@ Function Invoke-ExecBrandingSettings {
6262
try {
6363
$ImageBytes = [Convert]::FromBase64String($Base64Data)
6464
if ($ImageBytes.Length -le 2097152) {
65+
Write-Host 'updating logo'
6566
$BrandingConfig.logo = $Logo
6667
$Updated = $true
6768
} else {

0 commit comments

Comments
 (0)