Resolve the org's real hostname and logo extension for the letterhead

Fixkamo-shared-library
Shipped
4 Agosti 2026, 20:07 UTC
Author
Kamo
Commit
ec34eab

Correcting the theme URL was necessary but not sufficient — the logo still did not render, for two further reasons found in the live data. org_domains stores an org's subdomain records as bare labels beside its apex. KamoCRM Inc. holds upload, www, mail, api … and kamocrm.com, all active and verified, so taking the first verified row returned "upload". That is not a host: it yielded no logo, and it would have addressed share links at sign.upload. Only fully-qualified rows are eligible now, still preferring verified over unverified. Separately that org has logo_full_ext NULL even though logo-full.svg exists in its bucket, so requiring the column left the letterhead as plain text. It now defaults to svg, which is what the client already does. Both resolved URLs verified live: 200 image/svg+xml.

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei