mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	refactor(router): infer ip address for online mandates from request headers if absent (#1419)
This commit is contained in:
		| @ -615,7 +615,7 @@ impl ForeignTryFrom<(Option<MandateOption>, Option<String>)> for Option<payments | ||||
|                 acceptance_type: payments::AcceptanceType::Online, | ||||
|                 accepted_at: mandate.accepted_at, | ||||
|                 online: Some(payments::OnlineMandate { | ||||
|                     ip_address: mandate.ip_address.unwrap_or_default(), | ||||
|                     ip_address: mandate.ip_address, | ||||
|                     user_agent: mandate.user_agent.unwrap_or_default(), | ||||
|                 }), | ||||
|             }), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 ItsMeShashank
					ItsMeShashank