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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(analytics): fix first_attempt filter value parsing for Payments (#6667)
Sandeep Kumarabcaa539eccd
diff --git a/crates/analytics/src/query.rs b/crates/analytics/src/query.rsindex e80f762c41..caa112ec17 100644--- a/crates/analytics/src/query.rs+++ b/crates/analytics/src/query.rs@@ -459,7 +459,8 @@ impl<T: AnalyticsDataSource> ToSql<T> for common_utils::id_type::CustomerId {impl<T: AnalyticsDataSource> ToSql<T> for bool {fn to_sql(&self, _table_engine: &TableEngine) -> error_stack::Result<String, ParsingError> {- Ok(self.to_string().to_owned())+ let flag = *self;+ Ok(i8::from(flag).to_string())}}