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

@ -10,8 +10,8 @@ android {
applicationId "com.audiobookshelf.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 11
versionName "0.8.2-beta"
versionCode 12
versionName "0.8.3-beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

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)

View file

@ -1,6 +1,6 @@
{
"name": "audiobookshelf-app",
"version": "v0.8.2-beta",
"version": "v0.8.3-beta",
"author": "advplyr",
"scripts": {
"dev": "nuxt --hostname localhost --port 1337",