Add isDownloadable to ShareModal create MediaItemShare payload

This commit is contained in:
Greg Lorenzen 2024-12-01 01:53:05 +00:00
parent 79d172de90
commit 733dfd85a5

View File

@ -182,7 +182,8 @@ export default {
slug: this.newShareSlug,
mediaItemType: 'book',
mediaItemId: this.libraryItem.media.id,
expiresAt: this.expireDurationSeconds ? Date.now() + this.expireDurationSeconds * 1000 : 0
expiresAt: this.expireDurationSeconds ? Date.now() + this.expireDurationSeconds * 1000 : 0,
isDownloadable: this.isDownloadable
}
this.processing = true
this.$axios