Renamed importedBy to createdBy

This commit is contained in:
Leon Meier 2023-05-23 21:57:32 +02:00
parent ce04e4ff1c
commit 2b5831fccb
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ function post(req: Request, res: Response) {
SKU: record.sku, SKU: record.sku,
manufacturer: record.manufacturer, manufacturer: record.manufacturer,
status: itemStatus.normal, status: itemStatus.normal,
importedBy: 'CSV_IMPORT' createdBy: 'CSV_IMPORT'
} }
}); });
listOfPromises.push(promise); listOfPromises.push(promise);

View File

@ -64,7 +64,7 @@ function post(req: Request, res: Response) {
SKU: record.sku, SKU: record.sku,
manufacturer: record.manufacturer, manufacturer: record.manufacturer,
status: itemStatus.normal, status: itemStatus.normal,
importedBy: 'CSV_IMPORT' createdBy: 'CSV_IMPORT'
} }
}); });
listOfPromises.push(promise); listOfPromises.push(promise);