pablos answer

This commit is contained in:
ArneBo 2025-03-17 00:01:44 +01:00
parent 83326832aa
commit 2d2ffca918
1 changed files with 2 additions and 1 deletions

View File

@ -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