WorkshopTasker/server/api/clients/[id].patch.ts

8 lines
239 B
TypeScript

import { defineEventHandler } from "h3";
import { checkIsClient } from "../clients.post";
import { baaWrapper } from "../clients.get";
export default defineEventHandler((e) => {
return baaWrapper.RESTpatchRecord(e, checkIsClient);
});