mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user