mirror of
https://github.com/jlengrand/dialogflow-fun.git
synced 2026-03-10 08:11:22 +00:00
Minor fix
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -52,4 +52,5 @@ resources/templates/css/**
|
||||
resources/templates/js/**
|
||||
resources/templates/fonts/**
|
||||
dist
|
||||
.classpath
|
||||
.classpath
|
||||
dialogflow-fun-api/src/main/appengine/app.yaml
|
||||
|
||||
@@ -67,7 +67,7 @@ public class DialogFlowService {
|
||||
contact + " at " + getCurrentTime())
|
||||
);
|
||||
|
||||
if (paymentRequest == null || paymentRequest.getStatus() == null || paymentRequest.getStatus().equalsIgnoreCase("completed"))
|
||||
if (paymentRequest == null || paymentRequest.getStatus() == null || !paymentRequest.getStatus().equalsIgnoreCase("completed"))
|
||||
return new DialogFlowResponse("Sorry, the creation of the payment failed. Please try again later! Make sure to use your bank account's currency!");
|
||||
|
||||
return new DialogFlowResponse("Created a payment for a value of " + unitCurrency.getAmount() + unitCurrency.getCurrency() + " to " + contact);
|
||||
|
||||
Reference in New Issue
Block a user