From 6fb4594865bc764a1253b272f3f9e5d4d9c18030 Mon Sep 17 00:00:00 2001 From: Otavio Santana Date: Sat, 13 Jan 2024 13:14:46 +0000 Subject: [PATCH] feat: create developer resource Signed-off-by: Otavio Santana --- .../src/main/java/org/jnosql/demoee/DevelopersResource.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quarkus-jnosql-mongodb/src/main/java/org/jnosql/demoee/DevelopersResource.java b/quarkus-jnosql-mongodb/src/main/java/org/jnosql/demoee/DevelopersResource.java index 3285fb5..17b2d3d 100644 --- a/quarkus-jnosql-mongodb/src/main/java/org/jnosql/demoee/DevelopersResource.java +++ b/quarkus-jnosql-mongodb/src/main/java/org/jnosql/demoee/DevelopersResource.java @@ -19,8 +19,9 @@ public class DevelopersResource { @GET public List listAll(@QueryParam("name") String name) { - if (name == null) + if (name == null) { return template.select(Developer.class).result(); + } return template.select(Developer.class) .where("name")