Skip to content

Commit

Permalink
fix(LavaShark): Fix nodesPing() syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
hmes98318 committed Sep 15, 2023
1 parent fe27bab commit efa3399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/LavaShark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export class LavaShark extends EventEmitter {
}

const pingPromises = nodes.map(async (node) => {
return this.nodePing(node);
return this.nodePing(node, timeout);
});

const pingList = await Promise.all(pingPromises);
Expand Down

0 comments on commit efa3399

Please sign in to comment.