feat: implement podcast discovery and management controllers and services

This commit is contained in:
Michael committed 2026-04-16 14:57:49 +02:00
1 parent 7923f4cf09
commit a993e2d658
11 files changed
+318 -183

No files matched your search

+2 -2
View File
@@ -30,9 +30,9 @@ export const discoveryService = {
return response.data;
},
getTrendingPodcasts: async (limit: number = 20): Promise<DiscoveryResponse> => {
getTrendingPodcasts: async (limit: number = 20, genre?: string): Promise<DiscoveryResponse> => {
const response = await api.get('/podcasts/trending', {
params: { limit },
params: { limit, genre },
});
return response.data;
},