mirror of
https://github.com/skylord123/node-red-contrib-gamedig.git
synced 2025-06-30 23:51:09 -06:00
- Remove console.log debug lines
This commit is contained in:
parent
c0c40910ae
commit
12d4a40cf4
@ -36,7 +36,6 @@
|
||||
},
|
||||
oneditprepare: function() {
|
||||
let server_types = null;
|
||||
console.log("THIS:", this);
|
||||
if(typeof this.strip_colors === "undefined") {
|
||||
this.strip_colors = true;
|
||||
$("#node-input-strip_colors").prop('checked', true);
|
||||
|
@ -95,9 +95,7 @@ module.exports = function(RED) {
|
||||
msg.payload = 'online';
|
||||
// GameDig returns Results, Players, and Player objects that we need to convert
|
||||
// to standard Array/Object instances so that Node-RED doesn't error
|
||||
console.log("RESULT", state);
|
||||
msg.data = deepCloneToPlain(state);
|
||||
console.log("FORMATTED", msg.data);
|
||||
|
||||
if (msg.payload === node.halt_if) {
|
||||
return null;
|
||||
@ -131,7 +129,6 @@ module.exports = function(RED) {
|
||||
"/gamedig/types",
|
||||
RED.auth.needsPermission('flows.write'),
|
||||
function(req, res) {
|
||||
console.log(games);
|
||||
let server_types = Object.keys(games).map(gameKey => {
|
||||
let game = games[gameKey];
|
||||
game["type"] = gameKey;
|
||||
|
Loading…
x
Reference in New Issue
Block a user