From bec305a92e6cd722f1c848a57e51b20eb3944e22 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 26 Feb 2024 06:41:20 -0500 Subject: [PATCH] banners to 4 --- service/banners.js | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/service/banners.js b/service/banners.js index 1a36baa..514d311 100644 --- a/service/banners.js +++ b/service/banners.js @@ -61,7 +61,7 @@ var banners = { "style": "style1", "text": "Pending", "description": "Waiting for you to get started", - "action": "thisaction" + "action": "mytask" } }, "current": { @@ -84,16 +84,6 @@ var banners = { "action": "familymarket" } }, - "another1task": { - "banner": { - "image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg", - "icon": "bannerimage.icon", - "style": "style4", - "text": "Dummy for now", - "description": "dummy dummy dummy", - "action": "thisaction" - } - }, "pastdue": { "banner": { "image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg", @@ -101,13 +91,25 @@ var banners = { "style": "style5", "text": "Past Due", "description": "Ask for more time if past due", - "action": "thisaction" + "action": "mytask" } } }; + + // "another1task": { + // "banner": { + // "image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg", + // "icon": "bannerimage.icon", + // "style": "style4", + // "text": "Dummy for now", + // "description": "dummy dummy dummy", + // "action": "thisaction" + // } + // }, + let resultItem ={ "result": bannerArray, - "total_record": 5 + "total_record": 4 } next(null, resultItem ); // pass control to the next handler