refactor(events): update api events to follow snake case naming (#2828)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Sampras Lopes
2023-11-10 17:13:29 +05:30
committed by GitHub
parent f847802339
commit b3d5062dc0
3 changed files with 7 additions and 2 deletions

View File

@ -8,7 +8,7 @@ pub trait ApiEventMetric {
}
#[derive(Clone, Debug, Eq, PartialEq, Serialize)]
#[serde(tag = "flow_type")]
#[serde(tag = "flow_type", rename_all = "snake_case")]
pub enum ApiEventsType {
Payout,
Payment {