deckhearth/pages/api/collections
Randall Stillwell 7077fc9e25 🔧 Fix Authentication Headers & Add Debug Logging
🔐 Authentication Fixes:
- Added proper auth headers to collections API calls
- Added auth headers to thumbnail API calls
- Fixed missing Authorization Bearer token in requests

🔍 Enhanced Debug Logging:
- Added server-side logging in collections API
- Added debug logging in thumbnails API
- Log user authentication data
- Log SQL query results
- Log final API responses

This should fix the userRole: null issue by ensuring proper authentication
and help identify any remaining issues with detailed logging.
2025-07-27 12:39:28 -05:00
..
[identifier] 🔧 Fix Authentication Headers & Add Debug Logging 2025-07-27 12:39:28 -05:00
[identifier].js 🔗 Implement Collection Slug URLs 2025-07-26 22:06:52 -05:00