WorkshopTasker/server/api/clients/[id]/orders.get.ts

10 lines
267 B
TypeScript
Raw Normal View History

2023-05-24 09:40:45 +02:00
/* global defineEventHandler */
import { baaWrapper } from "~/server/api/orders.get";
export default defineEventHandler(async (e) => {
const baa = await baaWrapper.RESTget(e, 50, 200, "`client` = ?", [e.context.params?.id]);
console.log(baa);
return baa;
});