Commit a298544b by jaymehta

.

1 parent 4b8fc48b
......@@ -111,7 +111,6 @@ module.exports = createCoreController("api::experience.experience", () => ({
...ctx.request.body.data.daysBoolean,
image: ctx.request.body.data.image,
termsConditions: ctx.request.body.data.termsConditions,
},
}
);
......@@ -321,10 +320,15 @@ module.exports = createCoreController("api::experience.experience", () => ({
.query("api::experience.experience")
.findMany({
where: {
$and: [
{
name: {
$contains: string,
},
},
{ approved: { $eq: "approved" } },
],
},
});
const categories = await strapi.db
.query("api::categorie.categorie")
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!