- Remove console.log debug lines

This commit is contained in:
Skylar Sadlier 2024-11-21 11:16:04 -07:00
parent c0c40910ae
commit 12d4a40cf4
2 changed files with 0 additions and 4 deletions

View File

@ -36,7 +36,6 @@
}, },
oneditprepare: function() { oneditprepare: function() {
let server_types = null; let server_types = null;
console.log("THIS:", this);
if(typeof this.strip_colors === "undefined") { if(typeof this.strip_colors === "undefined") {
this.strip_colors = true; this.strip_colors = true;
$("#node-input-strip_colors").prop('checked', true); $("#node-input-strip_colors").prop('checked', true);

View File

@ -95,9 +95,7 @@ module.exports = function(RED) {
msg.payload = 'online'; msg.payload = 'online';
// GameDig returns Results, Players, and Player objects that we need to convert // GameDig returns Results, Players, and Player objects that we need to convert
// to standard Array/Object instances so that Node-RED doesn't error // to standard Array/Object instances so that Node-RED doesn't error
console.log("RESULT", state);
msg.data = deepCloneToPlain(state); msg.data = deepCloneToPlain(state);
console.log("FORMATTED", msg.data);
if (msg.payload === node.halt_if) { if (msg.payload === node.halt_if) {
return null; return null;
@ -131,7 +129,6 @@ module.exports = function(RED) {
"/gamedig/types", "/gamedig/types",
RED.auth.needsPermission('flows.write'), RED.auth.needsPermission('flows.write'),
function(req, res) { function(req, res) {
console.log(games);
let server_types = Object.keys(games).map(gameKey => { let server_types = Object.keys(games).map(gameKey => {
let game = games[gameKey]; let game = games[gameKey];
game["type"] = gameKey; game["type"] = gameKey;