KamoCRM

Query all user avatars to get real entity instead of proxy

FixSecurityService
Shipped
26 நவம்பர், 2025 அன்று 7:41 PM UTC
Author
snadjafinia
Commit
15bb6d9

- Get userId from avatar, then query findByUserId (returns real entities) - Find matching avatar from list and check instanceof - This avoids proxy issues that prevent instanceof from working

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