Debug: Add logging to verify custom photo fetch
This commit is contained in:
@@ -35,6 +35,9 @@ export default async function ProductDetailPage({
|
|||||||
});
|
});
|
||||||
if (customRequest) {
|
if (customRequest) {
|
||||||
customPhoto = customRequest.imageDataUrl;
|
customPhoto = customRequest.imageDataUrl;
|
||||||
|
console.log(`✓ Found custom photo for request ${searchParams.customRequestId}`);
|
||||||
|
} else {
|
||||||
|
console.log(`✗ Custom request not found: ${searchParams.customRequestId}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user