More code removal
authorDavid Négrier <d.negrier@thecodingmachine.com>
Fri, 15 May 2020 20:09:21 +0000 (22:09 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Fri, 15 May 2020 20:09:21 +0000 (22:09 +0200)
back/src/Model/Websocket/Message.ts

index f4bdead88d3dba98bb6a87beda35b28e4c5ed35b..70775d2b24e5583d5428f45b4fe2c14d1bf57816 100644 (file)
@@ -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
-        }
-    }
 }