diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-09-01 23:12:51 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-09-01 23:12:51 +0900 |
| commit | 291beb45fcb7a4c856232b12848ebad8267e2840 (patch) | |
| tree | 8967c4a548ce8a0d19b5e4ef3c8eb37e0d3414d1 /src/server/api/stream/notes-stats.ts | |
| parent | fix #2315 (#2339) (diff) | |
| download | sharkey-291beb45fcb7a4c856232b12848ebad8267e2840.tar.gz sharkey-291beb45fcb7a4c856232b12848ebad8267e2840.tar.bz2 sharkey-291beb45fcb7a4c856232b12848ebad8267e2840.zip | |
Use string interpolation
Diffstat (limited to 'src/server/api/stream/notes-stats.ts')
| -rw-r--r-- | src/server/api/stream/notes-stats.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/stream/notes-stats.ts b/src/server/api/stream/notes-stats.ts index ab00620018..ba99403226 100644 --- a/src/server/api/stream/notes-stats.ts +++ b/src/server/api/stream/notes-stats.ts @@ -16,7 +16,7 @@ export default function(request: websocket.request, connection: websocket.connec switch (msg.type) { case 'requestLog': - ev.once('notesStatsLog:' + msg.id, statsLog => { + ev.once(`notesStatsLog:${msg.id}`, statsLog => { connection.send(JSON.stringify({ type: 'statsLog', body: statsLog |