Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Read Function Name #32

Open
Heisenburgirs opened this issue Dec 27, 2023 · 2 comments
Open

Wrong Read Function Name #32

Heisenburgirs opened this issue Dec 27, 2023 · 2 comments

Comments

@Heisenburgirs
Copy link

Wrong declaration of read function name. Snippet code from my project:

// To get the pending owner of a profile: export const pendingProfileOwner = async(pendingOwner: string) =>{ const pendingProfileOwner: string = await registry.getProfileIdToPendingOwner(pendingOwner); return pendingProfileOwner; }

Instead of "getProfileIdToPendingOwner" it should be "profileIdToPendingOwner".

Should be fixed in Readme as well - https://github.com/allo-protocol/allo-v2-sdk/blob/main/src/Registry/README.md#read-functions

@Heisenburgirs
Copy link
Author

Same issue with "getProfilesById". It should be "getProfileById"

@Heisenburgirs
Copy link
Author

Also "remove members" not "add more" in Readme:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant