badmfck-api-server 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -65,7 +65,6 @@ class LogService extends BaseService_1.BaseService {
|
|
65
65
|
this.options = opt;
|
66
66
|
}
|
67
67
|
async init() {
|
68
|
-
super.init();
|
69
68
|
exports.REQ_LOG.listener = async (req) => {
|
70
69
|
if (req && req.lastID) {
|
71
70
|
let result = this.log.filter(val => val.id > req.lastID);
|
@@ -104,6 +103,7 @@ class LogService extends BaseService_1.BaseService {
|
|
104
103
|
if (this.log.length > limit)
|
105
104
|
this.log.shift();
|
106
105
|
});
|
106
|
+
super.init();
|
107
107
|
}
|
108
108
|
createDate(d) {
|
109
109
|
if (!d)
|