OpenDeck/sockets/getDeck.js

6 lines
117 B
JavaScript
Raw Normal View History

2021-03-08 14:16:18 +01:00
module.exports = socket => {
return () => {
socket.emit("getDeck", require("../db.json").deck);
}
};