*cast to string

This commit is contained in:
Derrick Hammer 2022-07-26 22:58:24 -04:00
parent 007b9a09d7
commit ce575b623c
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ export default class DHT {
) {
const relayIndex = await randomNumber(0, available.length - 1);
const connection = this._relays.get(available[relayIndex]);
const connection = this._relays.get(available[relayIndex]) as string;
if (!this.isServerAvailable(connection)) {
continue;