Skip to content

Commit 25dacc6

Browse files
author
Victor
committed
chore: fix the query string to find products
1 parent 676afab commit 25dacc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/models/Product.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Product {
1212
if (filters[filter][field] !== null)
1313
query += ` ${field} = '${filters[filter][field]}'`;
1414
else
15-
query = ` ${field} = null`;
15+
query += ` ${field} = null`;
1616
});
1717
});
1818

0 commit comments

Comments
 (0)