Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit a298544b
authored
2024-06-17 11:42:29 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
4b8fc48b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
src/api/experience/controllers/experience.js
src/api/experience/controllers/experience.js
View file @
a298544
...
...
@@ -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,9 +320,14 @@ module.exports = createCoreController("api::experience.experience", () => ({
.
query
(
"api::experience.experience"
)
.
findMany
({
where
:
{
name
:
{
$contains
:
string
,
},
$and
:
[
{
name
:
{
$contains
:
string
,
},
},
{
approved
:
{
$eq
:
"approved"
}
},
],
},
});
const
categories
=
await
strapi
.
db
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment