fix(bookin): corrected the error received from the book in fail

This commit is contained in:
2025-08-25 14:38:00 -05:00
parent 68901a857a
commit 369d16018c
2 changed files with 16 additions and 1 deletions

View File

@@ -96,7 +96,7 @@ export const bookInLabel = async (data: any) => {
"ocp",
`${
data.printer ? data.printer[0].name : "Manual book in"
}, "Error: ${error}`
}, "Error: ${error?.response.data}`
);
// console.log(error.response.data);
return {