diff --git a/actions/validate_restaurant_form.py b/actions/validate_restaurant_form.py index c33b573..2e8b5d3 100644 --- a/actions/validate_restaurant_form.py +++ b/actions/validate_restaurant_form.py @@ -37,7 +37,7 @@ def validate_restaurant_name( tracker: Tracker, domain: DomainDict, ) -> Dict[Text, Any]: - """Validate cuisine value.""" + """Validate restaurant name.""" restaurants = get_restaurants(tracker.sender_id) restaurant_names = set([ r.name.lower() @@ -47,4 +47,4 @@ def validate_restaurant_name( if slot_value.lower() in restaurant_names: return {"restaurant_name": slot_value} else: - return {"restaurant_name": None} \ No newline at end of file + return {"restaurant_name": None}