diff --git a/src/services/mainnet-squid/query.ts b/src/services/mainnet-squid/query.ts index 2c8c36d9b..38527eb9f 100644 --- a/src/services/mainnet-squid/query.ts +++ b/src/services/mainnet-squid/query.ts @@ -28,6 +28,10 @@ const getProfile = poolQuery({ }) return res.accounts }, + resultMapper: { + paramToKey: (param) => param, + resultToKey: (res) => res.id, + }, }) export const getProfileQuery = createQuery({ key: 'getProfile',