/api/backupProduct
This commit is contained in:
parent
a5a4c1fc4c
commit
76b1b9ba93
|
|
@ -35,7 +35,6 @@ import { screenShot } from "App/utils/screenShot";
|
|||
import { sendMessToZulip } from "App/utils/sendMessToZulip";
|
||||
import moment from "moment";
|
||||
import Product from "App/Models/Product";
|
||||
import DateTime from "luxon";
|
||||
|
||||
runtimeCheckLogs(Env.get("FOLDER_LOGS"));
|
||||
|
||||
|
|
@ -391,8 +390,7 @@ Route.post("/api/backupProduct", async ({ request, response }) => {
|
|||
VID:res.data[index].VID,
|
||||
line:res.data[index].line.join(","),
|
||||
file:res.data[index].fileName,
|
||||
warehouse:res.data[index].warehouse,
|
||||
created_at: new Date()
|
||||
warehouse:res.data[index].warehouse
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue