mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix(analytics): fix first_attempt filter value parsing for Payments (#6667)
This commit is contained in:
@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user