chore: code formatting
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user