v2 up handler

This commit is contained in:
2018-12-02 10:25:41 +01:00
parent 34f9d3bd94
commit f6859d34a1
3 changed files with 12 additions and 6 deletions

View File

@@ -1120,11 +1120,14 @@ class AutomaticDispose {
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
self.ADSettings().then((setting) => {
if (setting[self.MyRunnerSettings] != 'true') {
return self.ADisDB.ADisMissions.where({
let where = {
missionID: self.MissionID,
runner: self.MyRunner,
done: 'false'
}).limit(1)
}
console.log(where);
return self.ADisDB.ADisMissions.where(where).limit(1)
}
}).then((Wunsch) => {
if (Wunsch !== undefined) {