diff --git a/controllers/alexa.php b/controllers/alexa.php index c78799c..1a2faa4 100644 --- a/controllers/alexa.php +++ b/controllers/alexa.php @@ -197,6 +197,7 @@ $app->post('/alexa/endpoint', function() use($app) { } $action = $alexaRequest->slots['Action']; + $action = ($action == 'drank' ? 'drank' : 'ate'); $food = ucfirst($alexaRequest->slots['Food']);