feat(frm_routing_algorithm): added frm_routing_algorithm to merchant_account table, to be consumed for frm selection (#1161)

This commit is contained in:
rishavkar
2023-05-17 13:22:00 +05:30
committed by GitHub
parent 600dc33867
commit ea98145318
9 changed files with 30 additions and 0 deletions

View File

@ -121,6 +121,7 @@ pub async fn create_merchant_account(
locker_id: req.locker_id,
metadata: req.metadata,
primary_business_details,
frm_routing_algorithm: req.frm_routing_algorithm,
intent_fulfillment_time: req.intent_fulfillment_time.map(i64::from),
};
@ -228,6 +229,7 @@ pub async fn merchant_account_update(
metadata: req.metadata,
publishable_key: None,
primary_business_details,
frm_routing_algorithm: req.frm_routing_algorithm,
intent_fulfillment_time: req.intent_fulfillment_time.map(i64::from),
};