Use subdomain-aware SQL to match findByDomain JPQL logic

FixSecurityService
Shipped
April 18, 2026 at 7:44 PM UTC
Author
Kamo
Commit
0e56965

Org domain lookup in resendVerification was doing an exact-match query that failed for subdomains stored as child records (e.g. 'api' with parent 'kamocrm.com'). Mirror the **************** JPQL by joining parent domain and matching d.domain || '.' || parent.domain.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing