batchPriorityFes

This commit is contained in:
Nour Alharithi
2024-04-05 10:42:13 -07:00
parent a993ee22e7
commit b5fcf7d2e4
2 changed files with 45 additions and 7 deletions

View File

@@ -146,15 +146,14 @@ async function main() {
ws.send(
JSON.stringify({
channel: requestChannel,
error:
'Error subscribing to channel'
error: 'Error subscribing to channel',
})
);
} else {
ws.close(
1003,
JSON.stringify({
error: 'Error subscribing to channel'
error: 'Error subscribing to channel',
})
);
}
@@ -219,16 +218,14 @@ async function main() {
ws.send(
JSON.stringify({
channel: requestChannel,
error:
'Error unsubscribing from channel'
error: 'Error unsubscribing from channel',
})
);
} else {
ws.close(
1003,
JSON.stringify({
error:
'Error unsubscribing from channel'
error: 'Error unsubscribing from channel',
})
);
}