v2 fix transact
This commit is contained in:
@@ -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'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user