Fix id passed to delete prepared download

This commit is contained in:
advplyr 2021-09-16 19:58:04 -05:00
parent 87f1deff19
commit 07fd075619
3 changed files with 4 additions and 4 deletions

View file

@ -145,7 +145,7 @@ export default {
if (audiobookId) {
// Notify server to remove prepared download
if (this.$server.socket) {
this.$server.socket.emit('remove_download', downloadId)
this.$server.socket.emit('remove_download', audiobookId)
}
console.log('Download complete', filename, downloadId, contentUrl, 'AudiobookId:', audiobookId)