Skip to content

Commit

Permalink
fix: assign to const
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ma committed Sep 6, 2024
1 parent 981eceb commit 0f8d5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/Sockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class Sockets {
* JSON compatible data types (i.e. string, number, boolean, object, array and null).
*/
broadcast(roomIds, excludeSocket, channel, ...args) {
const targets = new Set();
let targets = new Set();

if (typeof roomIds === 'string' || Array.isArray(roomIds)) {
if (typeof roomIds === 'string') {
Expand Down

0 comments on commit 0f8d5ff

Please sign in to comment.