pass correct config path

This commit is contained in:
jb-alvarado 2021-01-03 21:44:25 +01:00
parent ad3d379480
commit 8856d20509

View File

@ -108,7 +108,8 @@ export const actions = {
}, },
async setPlayoutConfig ({ commit, state }, obj) { 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 return update
}, },