Skip to content

Commit

Permalink
Update after pallet changes
Browse files Browse the repository at this point in the history
  • Loading branch information
samchuk-vlad committed Oct 24, 2023
1 parent 3c20d8c commit 03d674d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/creatorStaking/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03d674d

Please sign in to comment.