Skip to content

Commit

Permalink
fix: AppInformationService initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelDeimos committed Dec 30, 2024
1 parent 47a4313 commit 2332602
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/backend/src/modules/apps/AppInformationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ class AppInformationService extends BaseService {
this.collections.recent = [];

this.tags = {};
}

['on_boot.consolidation'] () {

// MySQL date format mapping for different groupings
this.mysqlDateFormats = {
Expand All @@ -61,7 +58,9 @@ class AppInformationService extends BaseService {
'month': "toStartOfMonth(fromUnixTimestamp(ts))",
'year': "toStartOfYear(fromUnixTimestamp(ts))"
};

}

['__on_boot.consolidation'] () {
(async () => {
// await new Promise(rslv => setTimeout(rslv, 500))

Expand Down

0 comments on commit 2332602

Please sign in to comment.