mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 23:28:39 +08:00
fix: rewrite confusing log message
This commit is contained in:
parent
233260233c
commit
dacbbf033d
@ -277,8 +277,8 @@ async function refresh_associations_cache(){
|
|||||||
/** @type BaseDatabaseAccessService */
|
/** @type BaseDatabaseAccessService */
|
||||||
const db = services.get('database').get(DB_READ, 'apps');
|
const db = services.get('database').get(DB_READ, 'apps');
|
||||||
|
|
||||||
const log = services.get('log-service').create('refresh_apps_cache');
|
const log = services.get('log-service').create('helpers.js');
|
||||||
log.tick('refresh associations cache');
|
log.tick('refresh file associations');
|
||||||
const associations = await db.read('SELECT * FROM app_filetype_association');
|
const associations = await db.read('SELECT * FROM app_filetype_association');
|
||||||
const lists = {};
|
const lists = {};
|
||||||
for ( const association of associations ) {
|
for ( const association of associations ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user