Compare commits

...

2 commits
v1.1.2 ... main

2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View file

@ -5,3 +5,5 @@ config.json
package-lock.json
.env
.vercel
docker_build.bat
docker_run.bat

View file

@ -116,11 +116,14 @@ async function swapFront() {
for (member of front) {
let m = await system.getMemberById(member.content.member)
if (m.content.pkId) {
if (m.content && 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