/api/backupProduct
This commit is contained in:
parent
c746c0cd7c
commit
c71aa2f9c9
|
|
@ -389,6 +389,6 @@ Route.post("/api/backupProduct", async ({ request, response }) => {
|
|||
|
||||
await Product.createMany(res.data)
|
||||
} catch (error) {
|
||||
response.status(500).send("ADD VALUE FAIL!");
|
||||
response.status(500).send(error);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue