This commit is contained in:
Mr Swift
2024-03-06 11:48:20 +03:30
parent f575aabe12
commit 0c1942023e
5 changed files with 108 additions and 43 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ const createbrand = [
//@route GET /api/brands/
//@access Public
const getbrands = async (req, res) => {
const brand = await Brand.find();
const brand = await Brand.find().limit(8);
res.status(200).json(brand);
};