From fff0e13a2eb199db19f7cdeee1bc0ad1a78a0103 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20N=C3=A9grier?= Date: Fri, 15 May 2020 22:09:21 +0200 Subject: [PATCH] More code removal --- back/src/Model/Websocket/Message.ts | 10 ---------- 1 file changed, 10 deletions(-) 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 - } - } } -- 2.25.1