From c8baa38b7a4ccab9f532c3f5382f6b3481da4198 Mon Sep 17 00:00:00 2001 From: Max Meinel <57808426+Max-Meinel@users.noreply.github.com> Date: Mon, 16 Feb 2026 12:49:34 +0100 Subject: [PATCH] Fix formatting in bookshop.md for this.after --- get-started/bookshop.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/get-started/bookshop.md b/get-started/bookshop.md index c9e3321aad..348f1f870a 100644 --- a/get-started/bookshop.md +++ b/get-started/bookshop.md @@ -754,7 +754,7 @@ class CatalogService extends cds.ApplicationService { init() { // After READ handler on Books to add discount info this.after ('READ', 'Books', results => results.forEach (book => { if (book.stock > 111) book.title += ` -- 11% discount!` - }) + })) return super.init() }} @@ -767,7 +767,7 @@ export class CatalogService extends cds.ApplicationService { init() { // After READ handler on Books to add discount info this.after ('READ', 'Books', results => results.forEach (book => { if (book.stock > 111) book.title += ` -- 11% discount!` - }) + })) return super.init() }} @@ -901,4 +901,4 @@ Thereby we touched upon some best practices of CAP, such as: ::: tip [Pushdown to Database](#pushed-down-to-db-1) ::: -Learn more about these practices and guiding principles in the [_Core Concepts_](./concepts) guide following next, and the [_Key Features_](./features) guide thereafter. After that, go ahead and explore further on your own in the respective deep dive guides in the [_Develop_ section](../guides/). \ No newline at end of file +Learn more about these practices and guiding principles in the [_Core Concepts_](./concepts) guide following next, and the [_Key Features_](./features) guide thereafter. After that, go ahead and explore further on your own in the respective deep dive guides in the [_Develop_ section](../guides/).