Use string interpolation
This commit is contained in:
parent
ffb345ccb5
commit
291beb45fc
40 changed files with 53 additions and 53 deletions
|
|
@ -16,7 +16,7 @@ export default function(request: websocket.request, connection: websocket.connec
|
|||
|
||||
switch (msg.type) {
|
||||
case 'requestLog':
|
||||
ev.once('serverStatsLog:' + msg.id, statsLog => {
|
||||
ev.once(`serverStatsLog:${msg.id}`, statsLog => {
|
||||
connection.send(JSON.stringify({
|
||||
type: 'statsLog',
|
||||
body: statsLog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue