/api/backupProduct

This commit is contained in:
joseph le 2023-09-28 15:49:58 +07:00
parent c746c0cd7c
commit c71aa2f9c9
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
});