9 lines
276 B
TypeScript
9 lines
276 B
TypeScript
import { defineEventHandler } from "h3";
|
|
|
|
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;
|
|
});
|