chore: change endpoint
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
This commit is contained in:
parent
b90547c622
commit
209ef05d3d
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue