From: David NĂ©grier Date: Fri, 15 May 2020 20:09:21 +0000 (+0200) Subject: More code removal X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fff0e13a2eb199db19f7cdeee1bc0ad1a78a0103;p=libreadventure.git More code removal --- diff --git a/back/src/Model/Websocket/Message.ts b/back/src/Model/Websocket/Message.ts index f4bdead..70775d2 100644 --- a/back/src/Model/Websocket/Message.ts +++ b/back/src/Model/Websocket/Message.ts @@ -14,14 +14,4 @@ export class Message { this.name = data.name; this.character = data.character; } - - toJson() { - - return { - userId: this.userId, - roomId: this.roomId, - name: this.name, - character: this.character - } - } }