v2 fix transact

This commit is contained in:
2018-12-19 17:12:10 +01:00
parent b4fb131c9b
commit b33313eed9
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Wed Dec 19 2018 17:09:29 GMT+0100 (CET)*/ /*Generated on:Wed Dec 19 2018 17:12:10 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master"; var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
+2 -2
View File
@@ -1,4 +1,4 @@
/*Generated on:Wed Dec 19 2018 17:09:29 GMT+0100 (CET)*/ /*Generated on:Wed Dec 19 2018 17:12:10 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -17513,7 +17513,7 @@ class AutomaticDispose {
UpdatePoliceSprechwunschToDone(WunschID) { UpdatePoliceSprechwunschToDone(WunschID) {
let self = this; let self = this;
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => { return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => {
return self.ADisDB.ADisSprechwunschPolice.add({ return self.ADisDB.ADisSprechwunschPolice.put({
missionID: WunschID, missionID: WunschID,
done: 'true' done: 'true'
}) })
+1 -1
View File
@@ -506,7 +506,7 @@ class AutomaticDispose {
UpdatePoliceSprechwunschToDone(WunschID) { UpdatePoliceSprechwunschToDone(WunschID) {
let self = this; let self = this;
return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => { return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => {
return self.ADisDB.ADisSprechwunschPolice.add({ return self.ADisDB.ADisSprechwunschPolice.put({
missionID: WunschID, missionID: WunschID,
done: 'true' done: 'true'
}) })