Skip to content

Commit

Permalink
Fix Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
markelliot committed Jul 20, 2021
1 parent 6218063 commit 953a076
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public final class GreeterEndpoint implements Endpoints.Open<Request, Response>
return new Response("Hello " + request.name + "!");
}

public Class<HelloWorldEndpoint.Request> requestClass() {
return HelloWorldEndpoint.Request.class;
public Class<Request> requestClass() {
return Request.class;
}

public String path() {
Expand All @@ -48,4 +48,4 @@ Server.builder()
.allowOrigin("https://example.com")
.allowOrigin("http://localhost:8080") // for development
.start();
```
```

0 comments on commit 953a076

Please sign in to comment.