Add auth TODO to CuratedBox.js
This commit is contained in:
parent
28e3ce922b
commit
b873841d8c
1 changed files with 4 additions and 1 deletions
|
|
@ -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' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue