Skip to content

Node.js based forum software built for the modern web

added more api fields to rewards

psychobunny7457b22427cd
diff --git a/src/rewards/admin.js b/src/rewards/admin.js
index c7fc90cf8d..0da54efa7f 100644
--- a/src/rewards/admin.js
+++ b/src/rewards/admin.js
@@ -46,6 +46,10 @@ rewards.get = function(callback) {
"rewardID": 1,
"condition": "postcount",
"conditional": "greaterthan",
+ "rewards": {
+ "title": "Here is a title",
+ "message": "here is a message"
+ },
"value": 100,
"disabled": 0
},
@@ -53,6 +57,9 @@ rewards.get = function(callback) {
"rewardID": 0,
"condition": "lastLoggedIn",
"conditional": "lesserthan",
+ "rewards": {
+ "groupname": "group2"
+ },
"value": 10,
"disabled": 0
}