summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/widgets/server.cpu-memory.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-09 15:08:31 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-09 15:08:31 +0900
commit136b13e7ca2163f37ee81a8981f0b2205e7303c9 (patch)
tree1f92e693afe46ee6ab7327814eaa386edce92b6a /src/client/app/common/views/widgets/server.cpu-memory.vue
parent:art: (diff)
downloadmisskey-136b13e7ca2163f37ee81a8981f0b2205e7303c9.tar.gz
misskey-136b13e7ca2163f37ee81a8981f0b2205e7303c9.tar.bz2
misskey-136b13e7ca2163f37ee81a8981f0b2205e7303c9.zip
Fix bug and refactor
Diffstat (limited to 'src/client/app/common/views/widgets/server.cpu-memory.vue')
-rw-r--r--src/client/app/common/views/widgets/server.cpu-memory.vue3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/app/common/views/widgets/server.cpu-memory.vue b/src/client/app/common/views/widgets/server.cpu-memory.vue
index 55aa1ea895..119a77af83 100644
--- a/src/client/app/common/views/widgets/server.cpu-memory.vue
+++ b/src/client/app/common/views/widgets/server.cpu-memory.vue
@@ -91,8 +91,7 @@ export default Vue.extend({
mounted() {
this.connection.on('stats', this.onStats);
this.connection.on('statsLog', this.onStatsLog);
- this.connection.send({
- type: 'requestLog',
+ this.connection.send('requestLog', {
id: Math.random().toString()
});
},