Skip to content

Commit

Permalink
Add isDownloadable to ShareModal create MediaItemShare payload
Browse files Browse the repository at this point in the history
  • Loading branch information
glorenzen committed Dec 1, 2024
1 parent 79d172d commit 733dfd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/components/modals/ShareModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 733dfd8

Please sign in to comment.