10 lines
267 B
TypeScript
10 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;
|
||
|
});
|