You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: "[GraphQL] Variable "$request" cannot be non-input type "ExploreProfileResult!".\n[GraphQL] Variable "$request" of type "ExploreProfileResult!" used in position expecting type "ExploreProfilesRequest!"."
name: "CombinedError"
networkError: undefined
The getPublications function returns successfully that's why I'm thrown off by this error.
The text was updated successfully, but these errors were encountered:
I have checked this API on GraphQL playground and due to some issue it was not working when you add a dynamic variables. I have temporary fixed this issue here fix: temp fixed the explore profile API, but I will take a close look at it tomorrow :)
You can install version 0.1.5 and it should be working fine.
I've been trying to implement the lens.js in a scaffold-eth framework.
const getProfiles = () => {
Lens.ExploreProfiles("MOST_FOLLOWERS", ["STATS"], 10)
.then(res => {
console.log(res);
})
.catch(err => {
console.log("error", err);
});
};
throws the following:
message: "[GraphQL] Variable "$request" cannot be non-input type "ExploreProfileResult!".\n[GraphQL] Variable "$request" of type "ExploreProfileResult!" used in position expecting type "ExploreProfilesRequest!"."
name: "CombinedError"
networkError: undefined
The getPublications function returns successfully that's why I'm thrown off by this error.
The text was updated successfully, but these errors were encountered: