diff --git a/dist/autoloader.js b/dist/autoloader.js index 051a05e..4120931 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -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_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 ba178d2..1115f50 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -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 * =============================================== @@ -17513,7 +17513,7 @@ class AutomaticDispose { UpdatePoliceSprechwunschToDone(WunschID) { let self = this; return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => { - return self.ADisDB.ADisSprechwunschPolice.add({ + return self.ADisDB.ADisSprechwunschPolice.put({ missionID: WunschID, done: 'true' }) diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index 886160b..f4041d6 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -506,7 +506,7 @@ class AutomaticDispose { UpdatePoliceSprechwunschToDone(WunschID) { let self = this; return self.ADisDB.transaction('rw', [self.ADisDB.ADisSprechwunschPolice], async () => { - return self.ADisDB.ADisSprechwunschPolice.add({ + return self.ADisDB.ADisSprechwunschPolice.put({ missionID: WunschID, done: 'true' })