You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
288 B
JavaScript

'use strict';
const rewardsAdmin = require('../../rewards/admin');
const SocketRewards = module.exports;
SocketRewards.save = async function (socket, data) {
await rewardsAdmin.save(data);
};
SocketRewards.delete = async function (socket, data) {
await rewardsAdmin.delete(data);
};