pablos answer
This commit is contained in:
parent
83326832aa
commit
2d2ffca918
|
@ -141,7 +141,8 @@ const createEmptyChannel = async () => {
|
|||
const fetchChannels = async () => {
|
||||
isLoading.value = true
|
||||
try {
|
||||
const response = await axios.get('channels/', { params: { scope: 'me' /* Ask Pablo: which param to filter for `music` | `podcast`? */ } })
|
||||
const response = await axios.get('channels/', { params: { scope: 'me' /* Ask Pablo: which param to filter for `music` | `podcast`?
|
||||
Answer: const isPodcast = computed(() => channel.value?.artist?.content_category === 'podcast')*/ } })
|
||||
availableChannels.value = response.data.results
|
||||
} catch (error) {
|
||||
errors.value = (error as BackendError).backendErrors
|
||||
|
|
Loading…
Reference in New Issue