From 03d674d93cce10dca89332314ff6bbacdc3c87b4 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 24 Oct 2023 17:27:51 +0300 Subject: [PATCH] Update after pallet changes --- src/services/creatorStaking/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/creatorStaking/index.ts b/src/services/creatorStaking/index.ts index d1487a6..45da2cb 100644 --- a/src/services/creatorStaking/index.ts +++ b/src/services/creatorStaking/index.ts @@ -85,7 +85,7 @@ export const getGeneralBackerInfo = async ({ apis, spaceIds, account }: GeneralS if (!api) return undefined const queryParams = spaceIds.map((spaceId) => { - return [api.query.creatorStaking.generalBackerInfo, [account, spaceId]] + return [api.query.creatorStaking.backerStakesByCreator, [account, spaceId]] }) const generalStakerInfoResult = await api.queryMulti(queryParams as any)