deckhearth/pages/api
Randall Stillwell fba8af1fe1 🔧 Fix SQL Template Literal Syntax Error
🐛 Critical SQL Fix:
- Fixed malformed template literal concatenation in /api/collections
- Replaced dynamic sql template concatenation with parameterized query
- Used sql.query() with proper parameter binding (, , )
- Resolved 'syntax error at or near ' database error

🎯 Query Structure:
- Maintains all existing functionality
- Proper excludeSystem parameter handling
- Clean parameterized query approach
- Better SQL injection protection

Collections page should now load properly! 🚀
2025-07-27 20:00:20 -05:00
..
admin Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
auth 🔒 Implement 'All My Cards' System Collection 2025-07-27 15:17:51 -05:00
cards 🔧 Fix System Collections & Database Schema Issues 2025-07-27 19:17:55 -05:00
collections 🔒 Implement 'All My Cards' System Collection 2025-07-27 15:17:51 -05:00
community 🌍 Separate My Collections & Community Collections 2025-07-27 13:17:13 -05:00
invite 🎉 COMPLETED: Full Collaborative Collections System 2025-07-25 08:34:28 -05:00
user 🖼️ Complete Avatar Upload System with Vercel Blob 2025-07-26 21:39:42 -05:00
users 🚀 Implemented Complete Collection Functionality 2025-07-25 22:28:52 -05:00
auth-utils.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
collections.js 🔧 Fix SQL Template Literal Syntax Error 2025-07-27 20:00:20 -05:00
decks.js 🔒 CRITICAL SECURITY FIX: Implement Proper User Data Isolation 2025-07-26 00:29:51 -05:00
favorites.js 🔧 Fixed SQL Syntax Errors in Favorites API 2025-07-25 23:06:16 -05:00
health.js Clean slate: Remove React traces and create pure Next.js setup 2025-07-23 09:32:31 -05:00
setup-database.js Fix bcryptjs imports to use dynamic imports 2025-07-23 09:40:50 -05:00
simple.js Add simple API test without dependencies 2025-07-23 09:42:30 -05:00
test-auth.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00
test-db.js Major redesign: Enhanced card display with particle effects, improved filters, and search functionality 2025-07-23 21:26:54 -05:00