mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 19:01:41 +00:00
Add isDownloadable to ShareModal create MediaItemShare payload
This commit is contained in:
parent
79d172de90
commit
733dfd85a5
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue