From 7c33813102f916b3db67dc3bab0e1f0fa1cfa328 Mon Sep 17 00:00:00 2001 From: D070615 Date: Fri, 4 Jul 2025 13:40:25 +0200 Subject: [PATCH] redirect to fix test --- bookshop/srv/cat-service.cds | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bookshop/srv/cat-service.cds b/bookshop/srv/cat-service.cds index 034829b1..d9672753 100644 --- a/bookshop/srv/cat-service.cds +++ b/bookshop/srv/cat-service.cds @@ -8,9 +8,11 @@ service CatalogService @(path:'/browse') { /** For display in details pages */ @readonly entity Books as projection on my.Books { *, author.name as author - } excluding { createdBy, modifiedBy, contents }; + } excluding { createdBy, modifiedBy }; @requires: 'authenticated-user' action submitOrder ( book: Books:ID, quantity: Integer ) returns { stock: Integer }; event OrderedBook : { book: Books:ID; quantity: Integer; buyer: String }; } +@cds.redirection.target: true +@readonly entity Contents as projection on my.Contents; \ No newline at end of file