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

3
dist/autoloader.js vendored
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_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime();
@@ -4990,6 +4990,7 @@ ADisDB.on("ready", () => {
return ADisDB.ADisMissionsOwn.where({
done: 'false'
}).and(function (item) {
console.log('ADis_OpenNextOwnMissions: filter', item);
return item.next_check <= Math.floor(new Date().getTime() / 1000)
}).limit(1)
}

2
dist/standalone.js vendored
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) {
return string1.toLowerCase().includes(string2.toLowerCase());
}

View File

@@ -64,6 +64,7 @@ function ADis_OpenNextOwnMissions() {
return ADisDB.ADisMissionsOwn.where({
done: 'false'
}).and(function (item) {
console.log('ADis_OpenNextOwnMissions: filter', item);
return item.next_check <= Math.floor(new Date().getTime() / 1000)
}).limit(1)
}