diff --git a/src/app/api/upload/route.ts b/src/app/api/upload/route.ts index 95fbacc..cd3c8d3 100644 --- a/src/app/api/upload/route.ts +++ b/src/app/api/upload/route.ts @@ -33,11 +33,10 @@ export async function GET(req: NextRequest) { const { client, bucket, baseUrl } = getR2(); const childId = req.nextUrl.searchParams.get("childId") || "default"; - // List all memories for this child + // List ALL objects in bucket (no prefix filtering for debugging) const command = new ListObjectsV2Command({ Bucket: bucket, - Prefix: `memories/${childId}`, - MaxKeys: 50 + MaxKeys: 100 }); const res = await client.send(command);