Skip to content

Commit 4393c04

Browse files
committed
Merge pull request #24 from danielkutik/patch-1
contact not defined
2 parents 73ca0cd + 8d20c4f commit 4393c04

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)