Add auth TODO to CuratedBox.js

This commit is contained in:
Scott Scoble 2026-05-02 17:06:41 -07:00
parent 28e3ce922b
commit b873841d8c

View file

@ -17,7 +17,8 @@ export default function CuratedBox() {
const generateBox = async (userId) => {
try {
// For now, use placeholder preferences - in real app, fetch from user profile
// TODO: Add authentication headers - these API calls need auth before production
// TODO: Add authentication headers
const response = await fetch('/api/box', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
@ -51,6 +52,8 @@ export default function CuratedBox() {
if (!userFeedback) return;
try {
// TODO: Add authentication headers - these API calls need auth before production
// TODO: Add authentication headers
await fetch('/api/feedback', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },