Skip to content

Commit 8d20c4f

Browse files
committed
contact not defined
1 parent 73ca0cd commit 8d20c4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public class BasicApplication extends Application {
5151

5252
// send an object and negotiate the Response content-type, default to XML
5353
GET("/negotiate", (routeContext) -> {
54+
Contact contact = createContact();
5455
routeContext.xml().negotiateContentType().send(contact);
5556
});
5657

0 commit comments

Comments
 (0)