diff --git a/get-started/bookshop.md b/get-started/bookshop.md index c9e3321aa..348f1f870 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/).