fix wrong api url
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user