Update order.ts

This commit is contained in:
shafi54 2026-06-30 09:50:07 +05:30
parent 64d4d26909
commit 1e9796104d

View file

@ -543,6 +543,7 @@ export async function getAllOrders(input: GetAllOrdersInput): Promise<AdminGetAl
})) }))
.sort((first: any, second: any) => first.id - second.id) .sort((first: any, second: any) => first.id - second.id)
order.address = order.address || {}
return { return {
id: order.id, id: order.id,
orderId: order.id.toString(), orderId: order.id.toString(),