mirror of
https://github.com/Expand-sys/ccash-client-js
synced 2026-03-22 12:27:09 +11:00
fixed admin verify pass
This commit is contained in:
parent
6c1e4c3c80
commit
e80bd208ee
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ export class CCashClient implements ICCashClient {
|
||||||
|
|
||||||
adminVerifyPass(pass: string): Promise<boolean> {
|
adminVerifyPass(pass: string): Promise<boolean> {
|
||||||
return this.http
|
return this.http
|
||||||
.get('/admin/verify')
|
.get('/admin/verify', { headers: { Password: pass } })
|
||||||
.then(
|
.then(
|
||||||
(response) => this.handleError(response) || response.data.value || false
|
(response) => this.handleError(response) || response.data.value || false
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue