Update join command

- Listening to the correct event
- Removed erroneous .start()
This commit is contained in:
Logan Cusano
2023-03-26 02:27:10 -04:00
parent 9a2416e2ff
commit faec0f2291
2 changed files with 2 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ export async function returnAlsaDeviceObject() {
var i = 0;
for (const responseLine of brokenCommand) {
if (!String(responseLine).match(/^\s/g)) {
if (String(responseLine) && !String(responseLine).match(/^\s/g)) {
const tempDevice = {
id: i,
name: responseLine