Skip to content

Commit 2332602

Browse files
committed
fix: AppInformationService initialization
1 parent 47a4313 commit 2332602

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/backend/src/modules/apps/AppInformationService.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ class AppInformationService extends BaseService {
4040
this.collections.recent = [];
4141

4242
this.tags = {};
43-
}
44-
45-
['on_boot.consolidation'] () {
4643

4744
// MySQL date format mapping for different groupings
4845
this.mysqlDateFormats = {
@@ -61,7 +58,9 @@ class AppInformationService extends BaseService {
6158
'month': "toStartOfMonth(fromUnixTimestamp(ts))",
6259
'year': "toStartOfYear(fromUnixTimestamp(ts))"
6360
};
64-
61+
}
62+
63+
['__on_boot.consolidation'] () {
6564
(async () => {
6665
// await new Promise(rslv => setTimeout(rslv, 500))
6766

0 commit comments

Comments
 (0)