fix(connector): [Shift4] Fix incorrect deserialization of webhook event type (#1463)

Signed-off-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com>
This commit is contained in:
chikke srujan
2023-06-19 15:24:37 +05:30
committed by GitHub
parent 5eb0333363
commit b44f35d4d9

View File

@ -323,7 +323,7 @@ pub struct Shift4WebhookObjectEventType {
}
#[derive(Debug, Deserialize)]
#[allow(clippy::enum_variant_names)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum Shift4WebhookEvent {
ChargeSucceeded,
ChargeFailed,