- added update sub categories for updating product csv

This commit is contained in:
Fadli 2023-04-11 11:05:51 +07:00
parent 0e4d535ba3
commit 1ca568ded4

View File

@ -86,7 +86,7 @@ export class ProductService {
//TODO : Handle Update Product
productData.name = it[1];
productData.status = it[5] == 'active' ? 'ACTIVE' : 'NOT ACTIVE';
productData.sub_categories = it[2];
await this.productRepository.save(productData);
//TODO : Handle History Price