Skip to content

Commit

Permalink
fix(ApostilleAccount): Add urls parameter for isOwned method
Browse files Browse the repository at this point in the history
  • Loading branch information
aizaiz committed Nov 14, 2018
1 parent 6e475be commit 76413e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ApostilleAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ export class ApostilleAccount {
* @returns {Promise<boolean>}
* @memberof ApostilleAccount
*/
public async isOwned(): Promise<boolean> {
const cossignatories = await this.getCosignatories();
public async isOwned(urls?: string): Promise<boolean> {
const cossignatories = await this.getCosignatories(urls);
if (cossignatories.length > 0) {
return true;
}
Expand Down

0 comments on commit 76413e8

Please sign in to comment.