Query avatar_photos extension via SQL instead of Hibernate proxy

FixSecurityService
शिप
30 मार्च 2026 को 4:33 am बजे UTC
लेखक
Kamo
Commit
973ee81

avatarRepository.findById() returns a Hibernate proxy (Avatar$HibernateProxy) that fails instanceof AvatarPhoto check. This caused the file extension to always default to 'png' even when the actual file is 'jpg'. The avatar URL was https://.../{hash}.png but the file was stored as {hash}.jpg — resulting in 404 for every avatar image in kamo-meet. Now queries avatar_photos.file_extension directly via JdbcTemplate, bypassing the Hibernate proxy entirely.

सभी बदलाव

जैसा कि आप शिपिंग देखते हैं?

इन अद्यतनों में से प्रत्येक स्वचालित रूप से अपने कार्यक्षेत्र में उतरता है। प्रारंभ करें और सप्ताह के बाद इसे सप्ताह के अंत में देखें।.

Foreverमूल्य निर्धारण देखें