Fix sync loop

This commit is contained in:
Ayushya Amitabh
2020-05-05 22:27:52 -04:00
parent 8aef416eda
commit c4bb242d7a
3 changed files with 43 additions and 42 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ const updatePlayer = async (req, res) => {
.add({
uid: '<system>',
name: '',
text: `${userName} changed show to \n${player.showName}`,
text: `${userName} changed show \n${player.showName ? 'to ' + player.showName : ''}`,
time: new Date(),
});
}