File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ cds.once("served", () => {
18
18
/**
19
19
* TODO: Decide the properties to be added in the alerts section for notificationtype files.
20
20
*/
21
- if ( cds . requires ?. notifications ?. notificationTypes ) {
21
+ if ( cds . requires ?. notifications ?. types ) {
22
22
let notificationTypes = readFileContent (
23
- cds . requires . alerts . notificationTypes
23
+ cds . requires . notifications . types
24
24
) ;
25
25
if ( validateNotificationTypes ( notificationTypes ) ) {
26
26
notificationTypes . forEach ( ( oNotificationType ) => {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function validateNotificationTypes(notificationTypes = {}) {
15
15
16
16
function readFileContent ( filePath ) {
17
17
return JSON . parse (
18
- fs . readFileSync ( cds . requires . alerts . notificationTypes )
18
+ fs . readFileSync ( cds . requires . notifications . types )
19
19
) ;
20
20
}
21
21
Original file line number Diff line number Diff line change 1
1
/**
2
2
* TODO: Add the entry point for the Plugin Service here.
3
3
* We will branch out for development and production profile here
4
- */
4
+ */
You can’t perform that action at this time.
0 commit comments