Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
escottalexander committed Apr 26, 2022
1 parent 12dd536 commit 6afa394
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
16 changes: 12 additions & 4 deletions packages/bitcore-wallet-client/src/lib/bulkclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,20 @@ export class BulkClient extends Request {
if (wallets) {
Object.keys(wallets).forEach(copayerId => {
if (wallets[copayerId].tokenAddress) {
qs.push(`${copayerId}[tokenAddress]=` + wallets[copayerId].tokenAddress);
qs.push(
`${copayerId}[tokenAddress]=` + wallets[copayerId].tokenAddress
);
}

if (wallets[copayerId].multisigContractAddress) {
qs.push(`${copayerId}[multisigContractAddress]=` + wallets[copayerId].multisigContractAddress);
qs.push(`${copayerId}[network]=` + this.credentials.find(cred => cred.copayerId == copayerId).network);
qs.push(
`${copayerId}[multisigContractAddress]=` +
wallets[copayerId].multisigContractAddress
);
qs.push(
`${copayerId}[network]=` +
this.credentials.find(cred => cred.copayerId == copayerId).network
);
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions packages/bitcore-wallet-service/src/lib/expressapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ export class ExpressApp {
router.get('/v1/wallets/all/', async (req, res) => {
let responses;

const buildOpts = (req) => {
const buildOpts = req => {
const copayerId = req.headers['x-identity'];
const opts = {
includeExtendedInfo: req.query.includeExtendedInfo == '1',
Expand All @@ -460,7 +460,7 @@ export class ExpressApp {
network: req.query[copayerId] ? req.query[copayerId].network : null
};
return opts;
}
};

try {
responses = await Promise.all(
Expand Down

0 comments on commit 6afa394

Please sign in to comment.