Skip to content

Commit 41e8587

Browse files
remove typo
1 parent a8f67d6 commit 41e8587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sessions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export class ClientSession extends TypedEventEmitter<ClientSessionEvents> {
391391

392392
const topologyMaxWireVersion = maxWireVersion(this.client.topology);
393393
if (
394-
is(this.client.topology) &&
394+
isSharded(this.client.topology) &&
395395
topologyMaxWireVersion != null &&
396396
topologyMaxWireVersion < minWireVersionForShardedTransactions
397397
) {

0 commit comments

Comments
 (0)