WorkshopTasker/server/api/clients/[id]/orders.get.ts
2023-05-24 09:40:45 +02:00

9 lines
267 B
TypeScript

/* 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;
});