chore: change endpoint
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s

This commit is contained in:
Methapon2001 2025-04-22 09:37:10 +07:00
parent b90547c622
commit 209ef05d3d

View file

@ -450,7 +450,7 @@ export class ProductController extends Controller {
});
}
@Post("uploadedFile")
@Post("import-product")
@Security("keycloak", MANAGE_ROLES)
async importProduct(
@Request() req: RequestWithUser,
@ -466,7 +466,7 @@ export class ProductController extends Controller {
});
let dataName: string[] = [];
const data = await dataFile.map((item: any) => {
const data = dataFile.map((item: any) => {
dataName.push(item.name);
return {
...item,