update cuz presentation
This commit is contained in:
parent
7a9e451739
commit
4e67cc4e19
29 changed files with 1065 additions and 88 deletions
9
server/api/clients/[id]/orders.get.ts
Normal file
9
server/api/clients/[id]/orders.get.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
/* 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;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue