rename payload key

This commit is contained in:
jb-alvarado 2023-02-20 16:32:15 +01:00
parent 590026119c
commit 0663241c67
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ async function controlPlayout(state: string) {
await $fetch(`/api/control/${channel}/playout/`, {
method: 'POST',
headers: { ...contentType, ...authStore.authHeader },
body: JSON.stringify({ command: state }),
body: JSON.stringify({ control: state }),
})
setTimeout(() => {

View File

@ -1,6 +1,6 @@
{
"name": "ffplayout-frontend",
"version": "0.2.1",
"version": "0.2.2",
"description": "Web GUI for ffplayout",
"author": "Jonathan Baecker",
"private": true,