regex: enable consensus dumpurl on old code
Bug: #diff-ee4466aa0d1c641d7ae40ff1d8569a2bb414a9301ba3a2ac16e8c7cb879ea03d
Effects of rpc.value
500: Cannot read properties of undefined (reading 'validators')
- update packages to latest versions
Change-Id: 1e3eb6c56e
Signed-off-by: Salman Wahib <hello@sxlmnwb.xyz>
This commit is contained in:
parent
5e9feabb41
commit
4945f697ce
2
auto-imports.d.ts
vendored
2
auto-imports.d.ts
vendored
@ -121,6 +121,7 @@ declare global {
|
||||
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
|
||||
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
|
||||
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
|
||||
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast']
|
||||
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
|
||||
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
|
||||
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
|
||||
@ -423,6 +424,7 @@ declare module 'vue' {
|
||||
readonly useArrayFilter: UnwrapRef<typeof import('@vueuse/core')['useArrayFilter']>
|
||||
readonly useArrayFind: UnwrapRef<typeof import('@vueuse/core')['useArrayFind']>
|
||||
readonly useArrayFindIndex: UnwrapRef<typeof import('@vueuse/core')['useArrayFindIndex']>
|
||||
readonly useArrayFindLast: UnwrapRef<typeof import('@vueuse/core')['useArrayFindLast']>
|
||||
readonly useArrayJoin: UnwrapRef<typeof import('@vueuse/core')['useArrayJoin']>
|
||||
readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>
|
||||
readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>
|
||||
|
@ -93,9 +93,9 @@ async function onChange () {
|
||||
}
|
||||
|
||||
async function fetchPosition() {
|
||||
// let dumpurl = rpc.value.replace('consensus_state', 'dump_consensus_state');
|
||||
let dumpurl = rpc.value.replace('consensus_state', 'dump_consensus_state');
|
||||
try {
|
||||
const response = await fetch(rpc.value);
|
||||
const response = await fetch(dumpurl);
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error: ${response.status}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user