Remove some extra debug
This commit is contained in:
@@ -100,9 +100,7 @@ export const nearbySystemsUpdateWraper = async (nuid, nearbySystems) => {
|
|||||||
// Check if the system exists already on another node
|
// Check if the system exists already on another node
|
||||||
const existingSystem = await getSystemByName(nearbySystem);
|
const existingSystem = await getSystemByName(nearbySystem);
|
||||||
if (existingSystem) {
|
if (existingSystem) {
|
||||||
// Verify the frequencies match (to make sure the name isn't just the same)
|
// Verify the frequencies match (to make sure the name isn't just the same)
|
||||||
console.log(existingSystem.frequencies, nearbySystems[nearbySystem].frequencies, (JSON.stringify(existingSystem.frequencies) === JSON.stringify(nearbySystems[nearbySystem].frequencies)));
|
|
||||||
|
|
||||||
if (JSON.stringify(existingSystem.frequencies) === JSON.stringify(nearbySystems[nearbySystem].frequencies)) {
|
if (JSON.stringify(existingSystem.frequencies) === JSON.stringify(nearbySystems[nearbySystem].frequencies)) {
|
||||||
// The systems are the same
|
// The systems are the same
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user