From 0663241c6775d8ccaa78dbfe5a934f470c3158f1 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Mon, 20 Feb 2023 16:32:15 +0100 Subject: [PATCH] rename payload key --- components/Control.vue | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Control.vue b/components/Control.vue index 43dca5dc..4104f5d1 100644 --- a/components/Control.vue +++ b/components/Control.vue @@ -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(() => { diff --git a/package.json b/package.json index 6e0b29ec..e54e8447 100644 --- a/package.json +++ b/package.json @@ -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,