hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

fix(router): metadata field update in merchant_account and merchant_connector_account

Open srujanchikke opened this issue 1 year ago • 0 comments

Type of Change

  • [x] Bugfix
  • [ ] New feature
  • [x] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates

Description

metadata field in merchant_account is added in db . retrieval and updation of metadata in both merchant_account and merchant_connector_account are reflected in db

Additional Changes

  • [x] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

Motivation and Context

metadata field was unable to retrieve and update because merchant_account doesn't have metadata field and updating function of merchant_connecter_account didn't add metadata.

How did you test it?

tested using postman

Screenshot 2023-01-12 at 1 15 03 PM Screenshot 2023-01-12 at 1 09 44 PM

Checklist

  • [x] I formatted the code cargo +nightly fmt --all
  • [x] I addressed lints thrown by cargo clippy
  • [x] I reviewed submitted code
  • [ ] I added unit tests for my changes where possible
  • [ ] I added a CHANGELOG entry if applicable

srujanchikke avatar Jan 12 '23 08:01 srujanchikke