Compare commits
No commits in common. "main" and "v1.1.2" have entirely different histories.
2 changed files with 1 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -5,5 +5,3 @@ config.json
|
|||
package-lock.json
|
||||
.env
|
||||
.vercel
|
||||
docker_build.bat
|
||||
docker_run.bat
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue