From 76413e874673cd265135018bb600a122e7c67611 Mon Sep 17 00:00:00 2001 From: aizaiz Date: Wed, 14 Nov 2018 14:54:27 +0800 Subject: [PATCH] fix(ApostilleAccount): Add urls parameter for isOwned method --- src/ApostilleAccount.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ApostilleAccount.ts b/src/ApostilleAccount.ts index 2cb4501..56aeea3 100644 --- a/src/ApostilleAccount.ts +++ b/src/ApostilleAccount.ts @@ -334,8 +334,8 @@ export class ApostilleAccount { * @returns {Promise} * @memberof ApostilleAccount */ - public async isOwned(): Promise { - const cossignatories = await this.getCosignatories(); + public async isOwned(urls?: string): Promise { + const cossignatories = await this.getCosignatories(urls); if (cossignatories.length > 0) { return true; }