This commit is contained in:
2018-11-24 19:25:13 +01:00
parent ac18609a2e
commit c115d12e78
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Sat Nov 24 2018 19:23:22 GMT+0100 (CET)*/ /*Generated on:Sat Nov 24 2018 19:25:12 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();
@@ -4990,6 +4990,7 @@ ADisDB.on("ready", () => {
return ADisDB.ADisMissionsOwn.where({ return ADisDB.ADisMissionsOwn.where({
done: 'false' done: 'false'
}).and(function (item) { }).and(function (item) {
console.log('ADis_OpenNextOwnMissions: filter', item);
return item.next_check <= Math.floor(new Date().getTime() / 1000) return item.next_check <= Math.floor(new Date().getTime() / 1000)
}).limit(1) }).limit(1)
} }
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Sat Nov 24 2018 19:23:22 GMT+0100 (CET)*/ /*Generated on:Sat Nov 24 2018 19:25:12 GMT+0100 (CET)*/
function includesString(string1, string2) { function includesString(string1, string2) {
return string1.toLowerCase().includes(string2.toLowerCase()); return string1.toLowerCase().includes(string2.toLowerCase());
} }
+1
View File
@@ -64,6 +64,7 @@ function ADis_OpenNextOwnMissions() {
return ADisDB.ADisMissionsOwn.where({ return ADisDB.ADisMissionsOwn.where({
done: 'false' done: 'false'
}).and(function (item) { }).and(function (item) {
console.log('ADis_OpenNextOwnMissions: filter', item);
return item.next_check <= Math.floor(new Date().getTime() / 1000) return item.next_check <= Math.floor(new Date().getTime() / 1000)
}).limit(1) }).limit(1)
} }