mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 14:20:22 +08:00
fix: AppInformationService initialization
This commit is contained in:
parent
47a4313d92
commit
233260233c
@ -40,9 +40,6 @@ class AppInformationService extends BaseService {
|
|||||||
this.collections.recent = [];
|
this.collections.recent = [];
|
||||||
|
|
||||||
this.tags = {};
|
this.tags = {};
|
||||||
}
|
|
||||||
|
|
||||||
['on_boot.consolidation'] () {
|
|
||||||
|
|
||||||
// MySQL date format mapping for different groupings
|
// MySQL date format mapping for different groupings
|
||||||
this.mysqlDateFormats = {
|
this.mysqlDateFormats = {
|
||||||
@ -61,7 +58,9 @@ class AppInformationService extends BaseService {
|
|||||||
'month': "toStartOfMonth(fromUnixTimestamp(ts))",
|
'month': "toStartOfMonth(fromUnixTimestamp(ts))",
|
||||||
'year': "toStartOfYear(fromUnixTimestamp(ts))"
|
'year': "toStartOfYear(fromUnixTimestamp(ts))"
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
['__on_boot.consolidation'] () {
|
||||||
(async () => {
|
(async () => {
|
||||||
// await new Promise(rslv => setTimeout(rslv, 500))
|
// await new Promise(rslv => setTimeout(rslv, 500))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user