implemented instance lists and pot, todos still missing

This commit is contained in:
2024-03-28 23:10:29 +01:00
parent 979768e52e
commit 3c063fddca
34 changed files with 2668 additions and 105 deletions

View File

@ -0,0 +1,14 @@
import { errorMsg } from "../middleware/productionOrders";
export default defineEventHandler(async (event) => {
if (!(errorMsg === '')) {
throw createError({
statusCode: 400,
statusMessage: errorMsg,
})
}
setResponseStatus(event, 200)
return errorMsg
})