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
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".
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
The text was updated successfully, but these errors were encountered: