fix(bookin): corrected the error received from the book in fail
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user