change products landing

master
حسین معصومی پور 2025-02-19 12:35:54 +03:30
parent 246f137eda
commit 7eba04ba81
1 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ const RootData = ({ children }) => {
const fetchCosmetic = async () => {
const res = await fetch(
`${process.env.NEXT_PUBLIC_API_URL}/product?page=0&categoryId=553af942-7a14-4757-9a03-a3ebec6c865a`
`${process.env.NEXT_PUBLIC_API_URL}/product?page=0&categoryId=553af942-7a14-4757-9a03-a3ebec6c865a&brandIds=e80181ef-d91d-4072-aff3-be2fbb00c0eb`
);
const Cosmetic = await res.json();
setCosmeticData(Cosmetic);
@ -465,7 +465,7 @@ const RootData = ({ children }) => {
const fetchEyeCosmetic = async () => {
const res = await fetch(
`${process.env.NEXT_PUBLIC_API_URL}/product?page=0&categoryId=2e11e55c-0941-49f8-9d22-dfa21088f639`
`${process.env.NEXT_PUBLIC_API_URL}/product?page=0&categoryId=2e11e55c-0941-49f8-9d22-dfa21088f639&brandIds=e80181ef-d91d-4072-aff3-be2fbb00c0eb`
);
const eyeCosmetic = await res.json();
setEyeCosmeticData(eyeCosmetic);