jvaop
This commit is contained in:
Vendored
+2
-1
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user