fix: added validation for empty clientSecret in completeUpdateIntent
Type of Change
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Fixes #9355
Added validation to check whether clientSecret is empty if its length is empty if it is then returning else continue with the existing flow
How did you test it?
Checklist
- [x] I ran
npm run re:build - [x] I reviewed submitted code
- [ ] I added unit tests for my changes where possible
@aritro2002 can you please review now as completeUpdateIntent return type is defined as promise
completeUpdateIntent: string => promise<JSON.t>,
i had to use if else block and return a resolved promise containing an empty JSON object.
@aritro2002 can you please review this pr?
@aritro2002 can you please review this pr?
@aritro2002 can you please review this pr?
@aritro2002 can you please review this pr
@aritro2002 can you please review this pr?
@sakksham7 done with suggested changes can you please review in your free time?
Hey @s-vamshi, Thank you for your contribution! Please fill this form: Link