mirror of https://github.com/bastienwirtz/homer
delete unused object
parent
42f3a3ee71
commit
15f59b9e36
|
@ -170,12 +170,6 @@ export default {
|
||||||
const authenticated = await this.authenticate();
|
const authenticated = await this.authenticate();
|
||||||
if (!authenticated) return;
|
if (!authenticated) return;
|
||||||
}
|
}
|
||||||
const options = {
|
|
||||||
method: "GET",
|
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const response = await this.fetch(`api/stats/summary?sid=${encodeURIComponent(this.sessionId)}`);
|
const response = await this.fetch(`api/stats/summary?sid=${encodeURIComponent(this.sessionId)}`);
|
||||||
|
|
||||||
if (response?.queries?.percent_blocked === undefined) {
|
if (response?.queries?.percent_blocked === undefined) {
|
||||||
|
|
Loading…
Reference in New Issue