From e80bd208ee7dcd43d1d39c9ab73c869af20604af Mon Sep 17 00:00:00 2001 From: Expand-sys <79956551+Expand-sys@users.noreply.github.com> Date: Mon, 14 Jun 2021 09:55:57 +1000 Subject: [PATCH] fixed admin verify pass --- src/CCashClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CCashClient.ts b/src/CCashClient.ts index e7319f5..43dc9d8 100644 --- a/src/CCashClient.ts +++ b/src/CCashClient.ts @@ -96,7 +96,7 @@ export class CCashClient implements ICCashClient { adminVerifyPass(pass: string): Promise { return this.http - .get('/admin/verify') + .get('/admin/verify', { headers: { Password: pass } }) .then( (response) => this.handleError(response) || response.data.value || false );