party-order list ok,
This commit is contained in:
@@ -25,11 +25,11 @@ export async function GET(req: NextRequest) {
|
||||
const debug = { 'req.headers': flattenNextjsRequest(req) };
|
||||
|
||||
try {
|
||||
const orders = await listPartyOrders();
|
||||
const partyOrders = await listPartyOrders();
|
||||
|
||||
createAppLog(L_INFO, 'party-order list ok', {});
|
||||
|
||||
return response({ orders }, STATUS.OK);
|
||||
return response({ partyOrders }, STATUS.OK);
|
||||
} catch (error) {
|
||||
createAppLog(L_ERROR, 'party-order list error', debug);
|
||||
|
||||
|
Reference in New Issue
Block a user