Closed friouimehertesting closed 4 months ago
Describe the bug I was wondering why ratingFilter returns the same result for both truthy and falsy values in the file utils/queries.js. Can you explain to me please .
const ratingFilter = rating ? { rating: { $gte: rating } } : { rating: { $gte: rating } };
Describe the bug I was wondering why ratingFilter returns the same result for both truthy and falsy values in the file utils/queries.js. Can you explain to me please .