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 aae576b1
authored
2024-05-22 11:16:56 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
520f9381
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
31 deletions
src/api/experience/controllers/experience.js
src/api/experience/controllers/experience.js
View file @
aae576b
...
@@ -147,37 +147,39 @@ module.exports = createCoreController("api::experience.experience", () => ({
...
@@ -147,37 +147,39 @@ module.exports = createCoreController("api::experience.experience", () => ({
.
update
(
.
update
(
{
id
},
{
id
},
{
{
name
:
ctx
.
request
.
body
.
data
.
name
,
data
:
{
description
:
ctx
.
request
.
body
.
data
.
description
,
name
:
ctx
.
request
.
body
.
data
.
name
,
pricePerPerson
:
ctx
.
request
.
body
.
data
.
pricePerPerson
,
description
:
ctx
.
request
.
body
.
data
.
description
,
address
:
ctx
.
request
.
body
.
data
.
address
,
pricePerPerson
:
ctx
.
request
.
body
.
data
.
pricePerPerson
,
masterPincode
:
ctx
.
request
.
body
.
data
.
pincode
.
id
,
address
:
ctx
.
request
.
body
.
data
.
address
,
minimumDuration
:
ctx
.
request
.
body
.
data
.
minimumDuration
,
masterPincode
:
ctx
.
request
.
body
.
data
.
pincode
.
id
,
maximumDuration
:
ctx
.
request
.
body
.
data
.
maximumDuration
,
minimumDuration
:
ctx
.
request
.
body
.
data
.
minimumDuration
,
duration
:
ctx
.
request
.
body
.
data
.
duration
,
maximumDuration
:
ctx
.
request
.
body
.
data
.
maximumDuration
,
ageLowerLimit
:
ctx
.
request
.
body
.
data
.
ageLowerLimit
,
duration
:
ctx
.
request
.
body
.
data
.
duration
,
ageNotes
:
ctx
.
request
.
body
.
data
.
ageNotes
,
ageLowerLimit
:
ctx
.
request
.
body
.
data
.
ageLowerLimit
,
phoneNumber
:
ctx
.
request
.
body
.
data
.
phoneNumber
,
ageNotes
:
ctx
.
request
.
body
.
data
.
ageNotes
,
minGroupSize
:
ctx
.
request
.
body
.
data
.
minGroupSize
,
phoneNumber
:
ctx
.
request
.
body
.
data
.
phoneNumber
,
maxGroupSize
:
ctx
.
request
.
body
.
data
.
maxGroupSize
,
minGroupSize
:
ctx
.
request
.
body
.
data
.
minGroupSize
,
activityType
:
ctx
.
request
.
body
.
data
.
activityType
,
maxGroupSize
:
ctx
.
request
.
body
.
data
.
maxGroupSize
,
link
:
ctx
.
request
.
body
.
data
.
link
,
activityType
:
ctx
.
request
.
body
.
data
.
activityType
,
cancellationPolicy
:
ctx
.
request
.
body
.
data
.
cancellationPolicy
,
link
:
ctx
.
request
.
body
.
data
.
link
,
// vendor: ctx.request.body.data.vendor.id,
cancellationPolicy
:
ctx
.
request
.
body
.
data
.
cancellationPolicy
,
subCategory
:
subCategory
.
id
,
// vendor: ctx.request.body.data.vendor.id,
category
:
category
.
id
,
subCategory
:
subCategory
.
id
,
giftSomeone
:
ctx
.
request
.
body
.
data
.
giftSomeone
,
category
:
category
.
id
,
fromDate
:
ctx
.
request
.
body
.
data
.
fromDate
,
giftSomeone
:
ctx
.
request
.
body
.
data
.
giftSomeone
,
toDate
:
ctx
.
request
.
body
.
data
.
toDate
,
fromDate
:
ctx
.
request
.
body
.
data
.
fromDate
,
fromTime
:
ctx
.
request
.
body
.
data
.
fromTime
,
toDate
:
ctx
.
request
.
body
.
data
.
toDate
,
toTime
:
ctx
.
request
.
body
.
data
.
toTime
,
fromTime
:
ctx
.
request
.
body
.
data
.
fromTime
,
offers
:
ctx
.
request
.
body
.
data
.
offers
,
toTime
:
ctx
.
request
.
body
.
data
.
toTime
,
rating
:
ctx
.
request
.
body
.
data
.
rating
,
offers
:
ctx
.
request
.
body
.
data
.
offers
,
contactPersonForActivity
:
rating
:
ctx
.
request
.
body
.
data
.
rating
,
ctx
.
request
.
body
.
data
.
contactPersonForActivity
,
contactPersonForActivity
:
contactPersonForBooking
:
ctx
.
request
.
body
.
data
.
contactPersonForActivity
,
ctx
.
request
.
body
.
data
.
contactPersonForBooking
,
contactPersonForBooking
:
...
ctx
.
request
.
body
.
data
.
daysBoolean
,
ctx
.
request
.
body
.
data
.
contactPersonForBooking
,
...
ctx
.
request
.
body
.
data
.
daysBoolean
,
},
}
}
);
);
...
...
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