mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	refactor(grpc): send x-tenant-id and x-request-id in grpc headers (#6904)
				
					
				
			Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -719,6 +719,7 @@ pub async fn push_metrics_with_update_window_for_success_based_routing( | ||||
|                 success_based_routing_configs.clone(), | ||||
|                 success_based_routing_config_params.clone(), | ||||
|                 routable_connectors.clone(), | ||||
|                 state.get_grpc_headers(), | ||||
|             ) | ||||
|             .await | ||||
|             .change_context(errors::ApiErrorResponse::InternalServerError) | ||||
| @ -855,6 +856,7 @@ pub async fn push_metrics_with_update_window_for_success_based_routing( | ||||
|                     }, | ||||
|                     payment_status_attribute == common_enums::AttemptStatus::Charged, | ||||
|                 )], | ||||
|                 state.get_grpc_headers(), | ||||
|             ) | ||||
|             .await | ||||
|             .change_context(errors::ApiErrorResponse::InternalServerError) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Chethan Rao
					Chethan Rao