diff --git a/src/routes/frontend/manage/import/csvImport.ts b/src/routes/frontend/manage/import/csvImport.ts index 5ec3774..421bf64 100644 --- a/src/routes/frontend/manage/import/csvImport.ts +++ b/src/routes/frontend/manage/import/csvImport.ts @@ -68,7 +68,7 @@ function post(req: Request, res: Response) { SKU: record.sku, manufacturer: record.manufacturer, status: itemStatus.normal, - importedBy: 'CSV_IMPORT' + createdBy: 'CSV_IMPORT' } }); listOfPromises.push(promise); diff --git a/src/routes/frontend/manage/import/jsonImport.ts b/src/routes/frontend/manage/import/jsonImport.ts index 17b7f68..5f445c8 100644 --- a/src/routes/frontend/manage/import/jsonImport.ts +++ b/src/routes/frontend/manage/import/jsonImport.ts @@ -64,7 +64,7 @@ function post(req: Request, res: Response) { SKU: record.sku, manufacturer: record.manufacturer, status: itemStatus.normal, - importedBy: 'CSV_IMPORT' + createdBy: 'CSV_IMPORT' } }); listOfPromises.push(promise);