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

@ -29,7 +29,11 @@ pub struct AuthenticationData {
}
#[derive(Clone, Debug, Eq, PartialEq, Serialize)]
#[serde(tag = "api_auth_type")]
#[serde(
tag = "api_auth_type",
content = "authentication_data",
rename_all = "snake_case"
)]
pub enum AuthenticationType {
ApiKey {
merchant_id: String,