Skip to content

Commit

Permalink
return address in case of user wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-rosianu committed Feb 19, 2024
1 parent 5716f51 commit 797863a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -188039,7 +188039,7 @@ const robot = (app) => {
return [...new Set(allOwners)];
}
async function getAccountOwner(account) {
const accountOwner = await getAccountOwnerFromApi(account);
const accountOwner = account;
if (new out_1.Address(accountOwner).isContractAddress()) {
return getAccountOwnerFromApi(accountOwner);
}
Expand Down
2 changes: 1 addition & 1 deletion src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const robot = (app: Probot) => {
}

async function getAccountOwner(account: string): Promise<string> {
const accountOwner = await getAccountOwnerFromApi(account);
const accountOwner = account;
if (new Address(accountOwner).isContractAddress()) {
return getAccountOwnerFromApi(accountOwner);
}
Expand Down

0 comments on commit 797863a

Please sign in to comment.