Fix Branding: Custom logos for domains do not work

This commit is contained in:
Maurus Decimus
2026-07-12 15:04:26 +02:00
parent b17da02d3e
commit f7e82c3fbc
2 changed files with 2 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ impl Server {
let mut domain_id = u32::MAX;
let mut tenant_id = None;
if let Some((d_id, t_id)) = self.domain(domain).await?.map(|d| (d.id, d.id_tenant))
&& let Some(domain_record) = self.registry().object::<Domain>(domain_id.into()).await?
&& let Some(domain_record) = self.registry().object::<Domain>(d_id.into()).await?
{
logo_url = domain_record.logo;
domain_id = d_id;