fix: product service

This commit is contained in:
ilham 2021-12-28 18:44:16 +07:00
parent e73c3da0ae
commit 7e525b3cff

View File

@ -328,7 +328,7 @@ export class ProductService {
if ( if (
subCategories != 'null' && subCategories != 'null' &&
subCategories && subCategories &&
subCategories != 'undifined' subCategories != 'undefined'
) { ) {
baseQuery.where('product.sub_categories_id = :id', { baseQuery.where('product.sub_categories_id = :id', {
id: subCategories, id: subCategories,