mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 20:25:39 +02:00
refactor(frontend): ID生成処理を統一
This commit is contained in:
@@ -60,6 +60,7 @@ import kmg from '@/filters/kmg.js';
|
||||
import * as sound from '@/utility/sound.js';
|
||||
import { deepClone } from '@/utility/clone.js';
|
||||
import { prefer } from '@/preferences.js';
|
||||
import { genId } from '@/utility/id.js';
|
||||
|
||||
const name = 'jobQueue';
|
||||
|
||||
@@ -144,7 +145,7 @@ connection.on('stats', onStats);
|
||||
connection.on('statsLog', onStatsLog);
|
||||
|
||||
connection.send('requestLog', {
|
||||
id: Math.random().toString().substring(2, 10),
|
||||
id: genId(),
|
||||
length: 1,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user