From fdffe19a1162b27ba0206f1ab2ce08c3b8a2971d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Fr=C3=B6hle?= Date: Wed, 19 Dec 2018 17:18:58 +0100 Subject: [PATCH] v2 up transact --- dist/autoloader.js | 2 +- dist/autoloaderV2.js | 4 ++-- src/autoloaderV2.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/autoloader.js b/dist/autoloader.js index ffb469b..817e786 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Wed Dec 19 2018 17:16:34 GMT+0100 (CET)*/ +/*Generated on:Wed Dec 19 2018 17:18:57 GMT+0100 (CET)*/ var AutomaticDispose_Branch = "master"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var da_lss_adis_time = new Date().getTime(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index 590a34c..9ffb54d 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Wed Dec 19 2018 17:16:34 GMT+0100 (CET)*/ +/*Generated on:Wed Dec 19 2018 17:18:57 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -17202,7 +17202,7 @@ class AutomaticDispose { // - RemovePoliceSprechwunschFromQueue(WunschID) { let self = this; - return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => { + return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => { return this.ADisDB.ADisSprechwunschPolice.where({ missionID: WunschID }).delete(); diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index f3f87d1..d5195a0 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -195,7 +195,7 @@ class AutomaticDispose { // - RemovePoliceSprechwunschFromQueue(WunschID) { let self = this; - return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunsch], async () => { + return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => { return this.ADisDB.ADisSprechwunschPolice.where({ missionID: WunschID }).delete();