From 245f20bc4a4c0658bd47683e5acaf05999e079c3 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Mon, 17 Sep 2018 12:46:34 +0200 Subject: [PATCH] fixed formatted --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb9c77a..4e752b9 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ Response resp = client.textRequest("What's the weather in San Francisco?"); if (resp.getIntent() != null && resp.getIntent().equals("weather")) { Entity e = resp.getEntity("location"); if (e != null) { - System.out.printf("You asked me for a weather in %s\n", (String)e.getField("formated")); + System.out.printf("You asked me for a weather in %s\n", (String)e.getField("formatted")); } } ```