chore: code formatting

This commit is contained in:
github-actions[bot]
2022-01-28 01:53:23 +00:00
parent 3945af02d1
commit 8890aea598
5 changed files with 38 additions and 32 deletions

View File

@@ -96,7 +96,8 @@
try {
const { data: requests } = await axios.get("/.requests")
this.requests = requests
} catch {}
}
catch {}
}
},
},
@@ -150,7 +151,7 @@
rlreset() {
const reset = new Date(Math.max(this.requests.graphql.reset, this.requests.rest.reset))
return `${reset.getHours()}:${reset.getMinutes()}`
}
},
},
//Data initialization
data: {
@@ -160,7 +161,7 @@
embed: false,
localstorage: false,
searchable: false,
requests: {rest:{limit:0, used:0, remaining:0, reset:NaN}, graphql:{limit:0, used:0, remaining:0, reset:NaN}},
requests: { rest: { limit: 0, used: 0, remaining: 0, reset: NaN }, graphql: { limit: 0, used: 0, remaining: 0, reset: NaN } },
palette: "light",
metrics: null,
pending: false,