send channel id, not config path

This commit is contained in:
jb-alvarado 2021-03-30 12:32:12 +02:00
parent 3d9d6d8a6f
commit 1e4f2f0125

View File

@ -107,7 +107,7 @@ export default {
async getLog (type) {
this.logName = type
const response = await this.$axios.get(
`api/player/log/?type=${type}&date=${this.listDate}&config_path=${this.$store.state.config.configGui[this.$store.state.config.configID].playout_config}`)
`api/player/log/?type=${type}&date=${this.listDate}&channel=${this.$store.state.config.configGui[this.$store.state.config.configID].id}`)
if (response.data.log) {
this.currentLog = response.data.log