+6
-1
apps/api/src/utils/getLensAccount.ts
+6
-1
apps/api/src/utils/getLensAccount.ts
···
1
+
import { HEY_ENS_NAMESPACE } from "@hey/data/constants";
1
2
import getAccount from "@hey/helpers/getAccount";
2
3
import getAvatar from "@hey/helpers/getAvatar";
3
4
import type { Maybe, MetadataAttributeFragment } from "@hey/indexer";
···
44
45
}>({
45
46
fetchPolicy: "no-cache",
46
47
query: AccountDocument,
47
-
variables: { request: { username: { localName: handle } } }
48
+
variables: {
49
+
request: {
50
+
username: { localName: handle, namespace: HEY_ENS_NAMESPACE }
51
+
}
52
+
}
48
53
});
49
54
50
55
if (!data.account.isBeta) {