From b2ed4b4f69daaf1c9bb4935d0c2ad0243a7c064e Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Thu, 15 Apr 2021 13:22:14 +0200 Subject: [PATCH] remove the as number --- src/ws/spawn_shards.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ws/spawn_shards.ts b/src/ws/spawn_shards.ts index f46f831f9..24429b6dd 100644 --- a/src/ws/spawn_shards.ts +++ b/src/ws/spawn_shards.ts @@ -72,7 +72,7 @@ export function spawnShards(firstShardId = 0) { } bucket.createNextShard = false; - await ws.tellClusterToIdentify(clusterId as number, shardId, bucketId); + await ws.tellClusterToIdentify(clusterId, shardId, bucketId); shardId = queue.shift(); } }