From 8856d205099de27d8109b400078712f979ea95aa Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sun, 3 Jan 2021 21:44:25 +0100 Subject: [PATCH] pass correct config path --- store/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/store/config.js b/store/config.js index ab3a1526..7e85a14f 100644 --- a/store/config.js +++ b/store/config.js @@ -108,7 +108,8 @@ export const actions = { }, async setPlayoutConfig ({ commit, state }, obj) { - const update = await this.$axios.post('api/player/config/?configPlayout', { data: obj }) + const path = state.configGui[state.configID].playout_config + const update = await this.$axios.post(`api/player/config/?configPlayout&path=${path}`, { data: obj }) return update },