mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
passing in values for saving rewards
This commit is contained in:
13
src/socket.io/admin/rewards.js
Normal file
13
src/socket.io/admin/rewards.js
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
var rewards = require('../../rewards'),
|
||||
rewards = {};
|
||||
|
||||
rewards.save = function(socket, data, callback) {
|
||||
console.log(data);
|
||||
callback(new Error('derp'));
|
||||
//callback(err ? err.message : null);
|
||||
};
|
||||
|
||||
|
||||
module.exports = rewards;
|
||||
Reference in New Issue
Block a user