Files
sexy.pivoine.art/packages
Valknar XXX cd4c33a3f2 fix: safely handle empty/null models array in getVideoBySlug
- Added null/undefined checks before mapping models array
- Filter out invalid entries in models junction table data
- Default to empty array if models is not an array
- Prevents "Cannot read properties of undefined" errors on video pages

This fix ensures the video detail page works even when model associations
are missing or malformed in the database.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 04:33:52 +01:00
..
2025-10-25 22:04:41 +02:00