1
0
forked from mirror/misskey

Better id

This commit is contained in:
syuilo 2018-10-13 19:25:59 +09:00
parent 3aef5e6748
commit 4f74373df3
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ export default Vue.extend({
this.connection.on('stats', this.onStats); this.connection.on('stats', this.onStats);
this.connection.on('statsLog', this.onStatsLog); this.connection.on('statsLog', this.onStatsLog);
this.connection.send('requestLog', { this.connection.send('requestLog', {
id: Math.random().toString() id: Math.random().toString().substr(2, 8)
}); });
}, },
beforeDestroy() { beforeDestroy() {

View File

@ -78,7 +78,7 @@ export default Vue.extend({
this.connection.on('stats', this.onStats); this.connection.on('stats', this.onStats);
this.connection.on('statsLog', this.onStatsLog); this.connection.on('statsLog', this.onStatsLog);
this.connection.send('requestLog', { this.connection.send('requestLog', {
id: Math.random().toString(), id: Math.random().toString().substr(2, 8),
length: 200 length: 200
}); });
}, },