mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +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)]
|
#[derive(Debug, Deserialize)]
|
||||||
#[allow(clippy::enum_variant_names)]
|
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
|
||||||
pub enum Shift4WebhookEvent {
|
pub enum Shift4WebhookEvent {
|
||||||
ChargeSucceeded,
|
ChargeSucceeded,
|
||||||
ChargeFailed,
|
ChargeFailed,
|
||||||
|
|||||||
Reference in New Issue
Block a user