This commit is contained in:
Jonathan Baecker 2020-04-16 18:27:09 +02:00
parent cfd144c290
commit 8b919695b0

View File

@ -10,7 +10,6 @@ export const mutations = {
export const actions = { export const actions = {
async getPlaylist ({ commit, dispatch, state, rootState }, { dayStart, date }) { async getPlaylist ({ commit, dispatch, state, rootState }, { dayStart, date }) {
console.log(date)
const response = await this.$axios.get(`api/playlist/?date=${date}`, { headers: { Authorization: 'Bearer ' + rootState.auth.jwtToken } }) const response = await this.$axios.get(`api/playlist/?date=${date}`, { headers: { Authorization: 'Bearer ' + rootState.auth.jwtToken } })
const [h, m, s] = dayStart.split(':') const [h, m, s] = dayStart.split(':')