fix wrong api url

This commit is contained in:
Adrian Zuercher
2025-11-02 16:35:45 +01:00
parent 11b48c548e
commit c2272e8b17
2 changed files with 2 additions and 3 deletions

View File

@@ -27,7 +27,6 @@
/> />
<div class="q-py-md"> <div class="q-py-md">
<div class="q-gutter-sm"> <div class="q-gutter-sm">
<q-checkbox v-model="newScene.stageLights" label="Stage Lights" />
<q-checkbox v-model="newScene.lightBar" label="Light Bar" /> <q-checkbox v-model="newScene.lightBar" label="Light Bar" />
<q-checkbox v-model="newScene.floodPanels" label="Flood Panels" /> <q-checkbox v-model="newScene.floodPanels" label="Flood Panels" />
<q-checkbox v-model="newScene.movingHead" label="Moving Head" /> <q-checkbox v-model="newScene.movingHead" label="Moving Head" />
@@ -339,7 +338,7 @@ const saveScene = async () => {
scenes.value = [...scenes.value]; scenes.value = [...scenes.value];
appApi appApi
.post('/scene/save', JSON.stringify(newScene)) .post('/scenes/save', JSON.stringify(newScene))
.then((res) => { .then((res) => {
if (res.data) { if (res.data) {
NotifyResponse(res.data); NotifyResponse(res.data);

View File

@@ -13,7 +13,7 @@ const { NotifyResponse } = useNotify();
function saveDBM() { function saveDBM() {
dbmApi dbmApi
.get('data/save') .get('saveData')
.then((resp) => NotifyResponse(resp.data)) .then((resp) => NotifyResponse(resp.data))
.catch((err) => NotifyResponse(catchError(err), 'error')); .catch((err) => NotifyResponse(catchError(err), 'error'));
} }