Skip to content

Commit

Permalink
Merge pull request #12847 from RasaHQ/rename-customaction-tutorial
Browse files Browse the repository at this point in the history
rename custom action in tutorial project
  • Loading branch information
amn41 authored Sep 22, 2023
2 parents 856924f + 7702d7a commit 4b3d41b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rasa/cli/project_templates/tutorial/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
from rasa_sdk.events import SlotSet


class ActionSufficientFunds(Action):
class ActionCheckSufficientFunds(Action):
def name(self) -> Text:
return "action_sufficient_funds"
return "action_check_sufficient_funds"

def run(
self,
Expand Down
2 changes: 1 addition & 1 deletion rasa/cli/project_templates/tutorial/domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ responses:
- text: "How much money would you like to send?"

utter_transfer_complete:
- text: "All done. ${amount} has been sent to {recipient}."
- text: "All done. {amount} has been sent to {recipient}."

0 comments on commit 4b3d41b

Please sign in to comment.