Skip to content

Commit

Permalink
Modify intent trigger code
Browse files Browse the repository at this point in the history
  • Loading branch information
hwonyo committed May 21, 2018
1 parent a5cc71c commit ce2630b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_clova/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def _flask_view_func(self, *args, **kwargs):
else:
logger.info("SessionEndedRequest Handler is not defined.")
result = "{}", 200
elif request_type == 'IntentRequest' and self._intent_view_funcs:
elif request_type == 'IntentRequest' and (self._intent_view_funcs or self._default_intent_view_func):
result = self._map_intent_to_view_func(self.request.intent)()

if result is not None:
Expand Down

0 comments on commit ce2630b

Please sign in to comment.