fixed admin verify pass

This commit is contained in:
Expand-sys 2021-06-14 09:55:57 +10:00 committed by GitHub
parent 6c1e4c3c80
commit e80bd208ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
); );