Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit f8084f5

Browse files
authored
Merge pull request #1137 from jabas06/succeded-typo
fix typo in PaymentSucceded option
2 parents 82c56b2 + 403b731 commit f8084f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public async Task Handle(OrderStatusChangedToStockConfirmedIntegrationEvent @eve
4141
// Instead of a real payment we just take the env. var to simulate the payment
4242
// The payment can be successful or it can fail
4343

44-
if (_settings.PaymentSucceded)
44+
if (_settings.PaymentSucceeded)
4545
{
4646
orderPaymentIntegrationEvent = new OrderPaymentSucceededIntegrationEvent(@event.OrderId);
4747
}

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 PaymentSucceded { get; set; }
5+
public bool PaymentSucceeded { 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
@@ -11,7 +11,7 @@
1111
}
1212
}
1313
},
14-
"PaymentSucceded": true,
14+
"PaymentSucceeded": true,
1515
"AzureServiceBusEnabled": false,
1616
"SubscriptionClientName": "Payment",
1717
"ApplicationInsights": {

0 commit comments

Comments
 (0)