From 8e9295a806f8fee6f88a95616525899f0008eef3 Mon Sep 17 00:00:00 2001 From: Muhammad Fadli Date: Fri, 28 Apr 2023 19:58:47 +0700 Subject: [PATCH] - fix get product partner hide markup price --- src/product/product.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/product/product.service.ts b/src/product/product.service.ts index 1ca6398..ebbcfcc 100644 --- a/src/product/product.service.ts +++ b/src/product/product.service.ts @@ -504,7 +504,7 @@ export class ProductService { dataa.price = actualPrice; if (user.username != 'admin') { - dataa.remove('markup_price'); + delete dataa.markup_price; } newData.push({