made prepolulate api in serverless

This commit is contained in:
2025-11-19 11:34:12 +05:30
parent 844ebb4672
commit 4664eae896
2 changed files with 18 additions and 0 deletions

View File

@@ -354,6 +354,22 @@ functions:
method: get
getAllBankAndCurrencyDetails:
handler: src/modules/prepopulate/handlers/getAllBankDetails.handler
package:
patterns:
- "src/modules/minglaradmin/**"
- "common/**"
- "src/common/**"
- "node_modules/@prisma/client/**"
- "node_modules/.prisma/**"
events:
- httpApi:
path: /prepopulate/get-all-bank-currency-details
method: get
assignAMToHost:
handler: src/modules/minglaradmin/handlers/assignAM.handler
package:

View File

@@ -16,6 +16,8 @@ export class PrePopulateService {
BankBranches: {
select: {
id: true,
branchAddress: true,
ifscCode: true
}
}
}