mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
fix(events): Correct parsing of API events with user event_type for Clickhouse (#5022)
This commit is contained in:
@ -24,7 +24,6 @@ use crate::user::{
|
||||
impl ApiEventMetric for DashboardEntryResponse {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::User {
|
||||
merchant_id: self.merchant_id.clone(),
|
||||
user_id: self.user_id.clone(),
|
||||
})
|
||||
}
|
||||
@ -34,7 +33,6 @@ impl ApiEventMetric for DashboardEntryResponse {
|
||||
impl ApiEventMetric for VerifyTokenResponse {
|
||||
fn get_api_event_type(&self) -> Option<ApiEventsType> {
|
||||
Some(ApiEventsType::User {
|
||||
merchant_id: self.merchant_id.clone(),
|
||||
user_id: self.user_email.peek().to_string(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user