diff --git a/.gitignore b/.gitignore index 33014e4..0befe13 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,3 @@ config.json package-lock.json .env .vercel -docker_build.bat -docker_run.bat diff --git a/dataManager.js b/dataManager.js index 64f13c4..83c95bf 100644 --- a/dataManager.js +++ b/dataManager.js @@ -116,14 +116,11 @@ async function swapFront() { for (member of front) { let m = await system.getMemberById(member.content.member) - if (m.content && m.content.pkId) { + if (m.content.pkId) { // fronting member pkID has been found newFront.push(m.content.pkId) frontNames.push(m.content.name) } - else { - console.warn('::SimplyWS:: System member not found, this may be a custom front which is unsupported.') - } } // shift primary fronter to first in list