deckhearth/pages/api/collections/[identifier]
Randall Stillwell 2951efdaa0 🐛 Add Debug Logging for Thumbnails API Error
Added comprehensive debugging to identify why collection.id is undefined:
- Log identifier analysis (slug vs ID detection)
- Log which query path is taken (slug vs numeric ID)
- Log collection result structure and content
- Add validation for collection data before using collection.id
- Better error messages for debugging

This will help identify the root cause of the thumbnails API failure.
2025-07-27 14:11:51 -05:00
..
activity.js 🔄 Implement Automatic Redirects and Collection Edit/Delete 2025-07-26 22:16:52 -05:00
cards.js 🔄 Implement Automatic Redirects and Collection Edit/Delete 2025-07-26 22:16:52 -05:00
permissions.js 🔄 Implement Automatic Redirects and Collection Edit/Delete 2025-07-26 22:16:52 -05:00
thumbnails.js 🐛 Add Debug Logging for Thumbnails API Error 2025-07-27 14:11:51 -05:00