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 f0d52e2d
authored
2024-06-01 12:36:16 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
43383f40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/api/experience/controllers/experience.js
src/api/experience/controllers/experience.js
View file @
f0d52e2
...
@@ -65,7 +65,10 @@ module.exports = createCoreController("api::experience.experience", () => ({
...
@@ -65,7 +65,10 @@ module.exports = createCoreController("api::experience.experience", () => ({
const
element
=
ctx
.
request
.
body
.
data
.
imagesComponent
[
index
];
const
element
=
ctx
.
request
.
body
.
data
.
imagesComponent
[
index
];
finalImageArray
=
[...
finalImageArray
,
{
image
:
element
}];
finalImageArray
=
[...
finalImageArray
,
{
image
:
element
}];
}
}
console
.
log
(
"ctx.request.body.data.imagesComponent"
,
ctx
.
request
.
body
.
data
.
imagesComponent
);
// ctx.request.body.data.imagesComponent;
// ctx.request.body.data.imagesComponent;
// Create Activity
// Create Activity
const
activity
=
await
strapi
.
entityService
.
create
(
const
activity
=
await
strapi
.
entityService
.
create
(
...
...
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