deckhearth/pages/api/collections/[identifier]
Randall Stillwell c1554447c7 🔧 Fix Thumbnails API Result Structure
🐛 Bug Fix:
- Fixed thumbnailsResult.map() error in thumbnails API
- Added null safety with (thumbnailsResult || [])
- Updated response to wrap thumbnails in object: { thumbnails }

 Expected Results:
- Thumbnails API should now work without errors
- Collections should display proper thumbnail layouts:
  😢 Empty collections → crying emoji
  🃏 Collections with cards → white card boxes
  🖼️ Custom thumbnails → uploaded images

The new thumbnail layouts should now display correctly! 🎨
2025-07-27 14:32:09 -05:00
..
activity.js 🔄 Implement Automatic Redirects and Collection Edit/Delete 2025-07-26 22:16:52 -05:00
cards.js 🔧 Fix SQL Structure Issues Across All Collection APIs 2025-07-27 14:18:49 -05:00
permissions.js 🔧 Fix SQL Structure Issues Across All Collection APIs 2025-07-27 14:18:49 -05:00
thumbnails.js 🔧 Fix Thumbnails API Result Structure 2025-07-27 14:32:09 -05:00