KamoCRM

Add per-org primary application: toggle endpoint + by-host lookup

OtherSecurityService
Shipped
23 செப்டம்பர், 2026 அன்று 7:14 PM UTC
Author
Kamo
Commit
81e0756

PUT **************** designates (or clears) a product's published application as the org's primary, mirroring the existing mlos-default single-active toggle. New PublicLoanApplicationController GET .../by-host/{host} resolves the org from the caller's host (same OrgResolutionService.byHost as PublicOrgBrandingController) and returns its primary application's product id, or 404 - what kamo-apps' new homepage calls.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing