Skip to content

Commit 242c1da

Browse files
committed
minor name change
1 parent ea851bb commit 242c1da

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Services/Payment/Payment.API/IntegrationEvents/EventHandling/OrderStatusChangedToStockConfirmedIntegrationEventHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public OrderStatusChangedToStockConfirmedIntegrationEventHandler(IEventBus event
2222
public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @event)
2323
{
2424
IntegrationEvent orderPaymentIntegrationEvent;
25-
if(_settings.SuccessPayment)
25+
if(_settings.PaymentSucceded)
2626
{
2727
orderPaymentIntegrationEvent = new OrderPaymentSuccededIntegrationEvent(@event.OrderId);
2828
}

src/Services/Payment/Payment.API/PaymentSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
public class PaymentSettings
44
{
5-
public bool SuccessPayment { get; set; }
5+
public bool PaymentSucceded { get; set; }
66
public string EventBusConnection { get; set; }
77
}
88
}

src/Services/Payment/Payment.API/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"Default": "Warning"
66
}
77
},
8-
"SuccessPayment": "true"
8+
"PaymentSucceded": "true"
99
}

0 commit comments

Comments
 (0)