From 2cbfd202018b109decc7b849587afb2338187a20 Mon Sep 17 00:00:00 2001 From: Kerem Kazan Date: Mon, 24 Jun 2024 17:38:57 -0400 Subject: [PATCH] changing spaceOwner shim name: getNumTotalMemberships->getNumTotalSpaces --- packages/web3/src/v3/SpaceOwner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3/src/v3/SpaceOwner.ts b/packages/web3/src/v3/SpaceOwner.ts index 5ab87421c..0d9078361 100644 --- a/packages/web3/src/v3/SpaceOwner.ts +++ b/packages/web3/src/v3/SpaceOwner.ts @@ -24,7 +24,7 @@ export class SpaceOwner { ) } - public async getNumTotalMemberships(): Promise { + public async getNumTotalSpaces(): Promise { return this.erc721A.read.totalSupply() } }