Fixes
This commit is contained in:
@@ -120,7 +120,7 @@ const loadContent = async () => {
|
||||
let json = await content.json()
|
||||
supported.value = json.supported
|
||||
|
||||
content = await request(`/backends/${id}`)
|
||||
content = await request(`/backend/${id}`)
|
||||
json = await content.json()
|
||||
backend.value = json.backend
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ const backend = useRoute().params.backend
|
||||
const info = ref({})
|
||||
|
||||
const loadContent = async () => {
|
||||
const response = await request(`/backends/${backend}/info`)
|
||||
const response = await request(`/backend/${backend}/info`)
|
||||
const json = await response.json()
|
||||
info.value = json.data
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ const loadContent = async () => {
|
||||
onMounted(() => loadContent())
|
||||
|
||||
const updateValue = async (backend, key, newValue) => {
|
||||
const response = await request(`/backends/${backend.name}`, {
|
||||
const response = await request(`/backend/${backend.name}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify([{
|
||||
"key": key,
|
||||
|
||||
Reference in New Issue
Block a user