Update page.tsx
This commit is contained in:
@@ -370,7 +370,7 @@ export default function OrderDetailsPage() {
|
|||||||
const authToken = document.cookie.split("Authorization=")[1];
|
const authToken = document.cookie.split("Authorization=")[1];
|
||||||
|
|
||||||
const res = await fetchData(
|
const res = await fetchData(
|
||||||
`${process.env.NEXT_PUBLIC_API_URL}/orders/${orderId}`,
|
`${process.env.NEXT_PUBLIC_API_URL}/orders/${orderId}?includeInsights=true`,
|
||||||
{
|
{
|
||||||
method: "GET",
|
method: "GET",
|
||||||
headers: { Authorization: `Bearer ${authToken}` },
|
headers: { Authorization: `Bearer ${authToken}` },
|
||||||
|
|||||||
Reference in New Issue
Block a user