Rename WebSocketService sendJSON() -> send()
This commit is contained in:
@@ -183,7 +183,7 @@ export class IdeComponent implements OnInit {
|
||||
}
|
||||
|
||||
sendCodeContents() {
|
||||
this.webSocketService.sendJSON({
|
||||
this.webSocketService.send({
|
||||
'key': 'ide.write',
|
||||
'filename': this.filename,
|
||||
'content': this.code
|
||||
@@ -191,7 +191,7 @@ export class IdeComponent implements OnInit {
|
||||
}
|
||||
|
||||
requestCode() {
|
||||
this.webSocketService.sendJSON({
|
||||
this.webSocketService.send({
|
||||
'key': 'ide.read',
|
||||
'filename': this.filename
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user