Skip to content

Node.js based forum software built for the modern web

296 B
Raw Blame
'use strict';

const rewardsAdmin = require('../../rewards/admin');

const SocketRewards = module.exports;

SocketRewards.save = async function (socket, data) {
	return await rewardsAdmin.save(data);
};

SocketRewards.delete = async function (socket, data) {
	await rewardsAdmin.delete(data);
};