From 2b5831fccb84123dec2d8962ed2aa528febc4f23 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Tue, 23 May 2023 21:57:32 +0200 Subject: [PATCH] Renamed importedBy to createdBy --- src/routes/frontend/manage/import/csvImport.ts | 2 +- src/routes/frontend/manage/import/jsonImport.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);