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

9 lines
239 B
TypeScript
Raw Normal View History

import { defineEventHandler } from "h3";
2023-05-11 06:03:22 +02:00
import { checkIsClient } from "../clients.post";
2023-05-11 09:11:20 +02:00
import { baaWrapper } from "../clients.get";
2023-05-11 06:03:22 +02:00
2023-05-11 09:11:20 +02:00
export default defineEventHandler((e) => {
return baaWrapper.RESTpatchRecord(e, checkIsClient);
2023-05-11 06:03:22 +02:00
});