File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1358,13 +1358,13 @@ Using a custom `On` handler makes sense if you want to prevent that the default
13581358
13591359``` java
13601360@On (event = CqnService . EVENT_UPDATE )
1361- public CdsResult<? > processCoverImage(CdsUpdateEventContext context, List<Books > books) {
1361+ public CdsResult<Books > processCoverImage(CdsUpdateEventContext context, List<Books > books) {
13621362 books. forEach(book - > {
13631363 book. setCoverImage(new CoverImagePreProcessor (book. getCoverImage()));
13641364 });
13651365
13661366 // example for invoking some CQN-based service
1367- return service. run(Update . entity(Books_ . CDS_NAME ). entries(books));
1367+ return service. run(Update . entity(Books_ . class ). entries(books));
13681368}
13691369```
13701370
You can’t perform that action at this time.
0 commit comments