Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(api): use scalar field for rule ownership check
Replace relation filter with scalar emailAccountId field in findUnique query for better security and performance. - More efficient: avoids unnecessary join operation - More explicit: directly filters on foreign key column - Correct Prisma usage: findUnique should use scalar fields, not relation filters 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Loading branch information