From 0de9d8ae649d9614a5b6fcbf610b872a2987a8b5 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Wed, 30 Sep 2020 12:16:27 +0300 Subject: [PATCH] REST API: do not expose/export book hashes Signed-off-by: Pekka Helenius --- .../java/com/fjordtek/bookstore/model/BookHashRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/model/BookHashRepository.java b/bookstore/src/main/java/com/fjordtek/bookstore/model/BookHashRepository.java index eb26466..9a2b6c6 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/model/BookHashRepository.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/model/BookHashRepository.java @@ -18,7 +18,7 @@ import org.springframework.data.rest.core.annotation.RepositoryRestResource; @RepositoryRestResource( path = "bookhashes", itemResourceRel = "bookhashes", - exported = true + exported = false ) public interface BookHashRepository extends CrudRepository {