made cancel slot api and modified get by id api to send all the data of scheduling and taking listNow flag in create scheduling api while deleting all the records before creating new ones

This commit is contained in:
2026-01-29 17:47:48 +05:30
parent 1d90675d19
commit 8be2eebaba
5 changed files with 315 additions and 3 deletions

View File

@@ -492,4 +492,19 @@ getVenueDurationByAct:
events:
- httpApi:
path: /scheduling/get-venue-duration/{activityXid}
method: get
method: get
cancelSlotForActivity:
handler: src/modules/host/handlers/Activity_Hub/Scheduling/cancelSlot.handler
memorySize: 512
package:
patterns:
- 'src/modules/host/handlers/Activity_Hub/Scheduling/**'
- ${file(./serverless/patterns/base.yml):pattern1}
- ${file(./serverless/patterns/base.yml):pattern2}
- ${file(./serverless/patterns/base.yml):pattern3}
- ${file(./serverless/patterns/base.yml):pattern4}
events:
- httpApi:
path: /scheduling/cancel-slot
method: post