migration #51

Merged
cowch merged 166 commits from migration into main 2025-09-19 22:18:47 -05:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit b3ce767b32 - Show all commits

View File

@@ -19,7 +19,7 @@ app.openapi(
summary: "Consumes material based on its running number",
method: "post",
path: "/consume",
middleware: authMiddleware,
//middleware: authMiddleware,
description:
"Provided a running number and lot number you can consume material.",
responses: {

View File

@@ -289,11 +289,11 @@ export const labelingProcess = async ({
"error",
"labeling",
"ocp",
`There was an error booking in the label: ${book?.errors[0]?.message}`
`There was an error booking in the label: ${book.data?.errors[0]?.message}`
);
return {
success: false,
message: `Error Booking in label: ${book?.errors[0]?.message}`,
message: `Error Booking in label: ${book.data?.errors[0]?.message}`,
data: book,
};
}