defined the apis in serverless file

This commit is contained in:
2025-11-21 12:28:47 +05:30
parent 8f25bb87e6
commit ee9c0027de

View File

@@ -426,10 +426,9 @@ functions:
- httpApi:
path: /minglaradmin/edit-agreement-details
method: patch
editAgreementDetails:
handler: src/modules/minglaradmin/handlers/editAgreementDetails.handler
acceptHostApplication:
handler: src/modules/minglaradmin/handlers/acceptHostApplication.handler
package:
patterns:
- 'src/modules/minglaradmin/**'
@@ -440,7 +439,22 @@ functions:
events:
- httpApi:
path: /minglaradmin/edit-agreement-details
path: /minglaradmin/accept-host-application
method: patch
rejectHostApplication:
handler: src/modules/minglaradmin/handlers/rejectHostApplication.handler
package:
patterns:
- 'src/modules/minglaradmin/**'
- 'common/**'
- 'src/common/**'
- 'node_modules/@prisma/client/**'
- 'node_modules/.prisma/**'
events:
- httpApi:
path: /minglaradmin/reject-host-application
method: patch
addCompanyDetails: