mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +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 {
|
impl<T: AnalyticsDataSource> ToSql<T> for bool {
|
||||||
fn to_sql(&self, _table_engine: &TableEngine) -> error_stack::Result<String, ParsingError> {
|
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