Add:RSS feeds for audiobooks #606

This commit is contained in:
advplyr
2022-05-19 18:51:58 -05:00
parent 06cc2a1b21
commit 2a235b8324
6 changed files with 100 additions and 63 deletions

View File

@ -122,7 +122,7 @@ export default {
console.log('Payload', payload)
this.$axios
.$post(`/api/podcasts/${this.libraryItemId}/open-feed`, payload)
.$post(`/api/items/${this.libraryItemId}/open-feed`, payload)
.then((data) => {
if (data.success) {
console.log('Opened RSS Feed', data)
@ -143,7 +143,7 @@ export default {
closeFeed() {
this.processing = true
this.$axios
.$post(`/api/podcasts/${this.libraryItem.id}/close-feed`)
.$post(`/api/items/${this.libraryItem.id}/close-feed`)
.then(() => {
this.$toast.success('RSS Feed Closed')
this.show = false