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" applicationId "com.audiobookshelf.app"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 11 versionCode 12
versionName "0.8.2-beta" versionName "0.8.3-beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions { aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. // 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) { if (audiobookId) {
// Notify server to remove prepared download // Notify server to remove prepared download
if (this.$server.socket) { 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) console.log('Download complete', filename, downloadId, contentUrl, 'AudiobookId:', audiobookId)

View file

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