Skip to content

Commit

Permalink
renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Dec 21, 2023
1 parent 28f2b6f commit f3225d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ const App = () => {
let accountId = await chainApi.getAccountIdFromSeed(seed);
console.log('account ID is ' + accountId);
chainApi
.GetUserPool(api, "5CcHZucP2u1FXQW9wuyC11vAVxB3c48pUhc5cc9b3oxbKPL2")
.getUserPool(api, "5CcHZucP2u1FXQW9wuyC11vAVxB3c48pUhc5cc9b3oxbKPL2")
.then((res: any) => {
console.log('GetUserPool created');
console.log(res);
Expand Down
2 changes: 1 addition & 1 deletion src/protocols/chain-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export const checkJoinRequest = async (
}
};

export const GetUserPool = async (
export const getUserPool = async (
api: ApiPromise | undefined,
accountId: string
): Promise<BType.PoolUsers | null> => {
Expand Down

0 comments on commit f3225d8

Please sign in to comment.