Skip to content

Commit

Permalink
clean context in example/quickstart.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy Blandin committed Jun 29, 2016
1 parent 3cd2327 commit 2a1f674
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const actions = {
var location = firstEntityValue(entities, 'location')
if (location) {
context.forecast = 'sunny in ' + location; // we should call a weather API here
delete context.missingLocation;
} else {
context.missingLocation = true;
delete context.forecast;
Expand Down

0 comments on commit 2a1f674

Please sign in to comment.