diff --git a/lib/endpoints/captcha.ts b/lib/endpoints/captcha.ts index 71a059b..5449911 100644 --- a/lib/endpoints/captcha.ts +++ b/lib/endpoints/captcha.ts @@ -13,7 +13,7 @@ class Captcha extends Endpoint { } fetch(params: C.FetchParams = {}) { - return this.callWithSession('fetch', {}); + return this.callWithSession('fetch', params); } solve(params: C.SolveParams) { diff --git a/lib/endpoints/empire.ts b/lib/endpoints/empire.ts index 54af84f..ecdb60d 100644 --- a/lib/endpoints/empire.ts +++ b/lib/endpoints/empire.ts @@ -13,15 +13,15 @@ class Empire extends Endpoint { } fetchCaptcha(params: E.FetchCaptchaParams = {}) { - return this.callWithSession('fetch_captcha', {}); + return this.callWithSession('fetch_captcha', params); } viewBoosts(params: E.ViewBoostsParams = {}) { - return this.callWithSession('view_boosts', {}); + return this.callWithSession('view_boosts', params); } getStatus(params: E.GetStatusParams = {}) { - return this.callWithSession('get_status', {}); + return this.callWithSession('get_status', params); } login(params: E.LoginParams) {