From 58ce59c9eeeea2d7952bb90e49335604b39bf374 Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Mon, 14 Jun 2021 01:59:11 +0100 Subject: [PATCH] fix: add Password header to adminVerifyPass --- 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 );