added pot todos functionality

This commit is contained in:
2024-02-28 14:48:18 +01:00
parent c327355c8a
commit fcc6517110
17 changed files with 1798 additions and 45 deletions

View File

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