Skip to content

Commit

Permalink
Merge branch 'master' of github.com:api-ai/apiai-javascript-client
Browse files Browse the repository at this point in the history
  • Loading branch information
Gugic committed Jun 29, 2017
2 parents a78fc00 + f24a089 commit b36c921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -19,12 +19,12 @@ const promise = client.textRequest(longTextRequest);

promise
.then(handleResponse)
.catch(heandleError);
.catch(handleError);

function handleResponse(serverResponse) {
console.log(serverResponse);
}
function heandleError(serverError) {
function handleError(serverError) {
console.log(serverError);
}

Expand Down

0 comments on commit b36c921

Please sign in to comment.