mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-07-02 05:06:24 +00:00
Rename WebSocketService sendJSON() -> send()
This commit is contained in:
@ -42,7 +42,7 @@ export class ConsoleComponent implements OnInit {
|
||||
}
|
||||
|
||||
sendContent(content: string) {
|
||||
this.webSocketService.sendJSON({
|
||||
this.webSocketService.send({
|
||||
'key': 'console.content',
|
||||
'value': content
|
||||
});
|
||||
|
Reference in New Issue
Block a user