Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix: add flow_name setter (#2234)

Kritik Modi30e2c906724a
diff --git a/crates/router/src/routes/app.rs b/crates/router/src/routes/app.rs
index ab213ed092..045c548009 100644
--- a/crates/router/src/routes/app.rs
+++ b/crates/router/src/routes/app.rs
@@ -75,7 +75,7 @@ impl AppStateInfo for AppState {
self.api_client.add_merchant_id(merchant_id);
}
fn add_flow_name(&mut self, flow_name: String) {
- self.flow_name = flow_name;
+ self.api_client.add_flow_name(flow_name);
}
}