Skip to content

Commit

Permalink
feat: create developer resource
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <[email protected]>
  • Loading branch information
otaviojava committed Jan 13, 2024
1 parent 46911ea commit 6fb4594
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ public class DevelopersResource {

@GET
public List<Developer> listAll(@QueryParam("name") String name) {
if (name == null)
if (name == null) {
return template.select(Developer.class).result();
}

return template.select(Developer.class)
.where("name")
Expand Down

0 comments on commit 6fb4594

Please sign in to comment.