From 1050390ac7562d7958be3f7c9c6bf006e9d0ddf9 Mon Sep 17 00:00:00 2001
From: IsolatedSushi <simen.vanherpt@gmail.com>
Date: Wed, 13 Jan 2021 11:25:56 +0100
Subject: [PATCH] Update naming

---
 backend/webSocketGateway/src/webSocketGateway.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backend/webSocketGateway/src/webSocketGateway.js b/backend/webSocketGateway/src/webSocketGateway.js
index 2b1c158..0ff46b5 100644
--- a/backend/webSocketGateway/src/webSocketGateway.js
+++ b/backend/webSocketGateway/src/webSocketGateway.js
@@ -23,7 +23,7 @@ var target = '127.0.0.1:50051';
 
 var count = 0;
 
-class Connection{
+class ProjectionRequest{
   constructor(ws,client,calls,lineAmount){
     this.index = count;
     count += 1;
@@ -36,7 +36,7 @@ class Connection{
 
 wsServer.on('connection', function connection(ws) {
   console.log(`Client connected with websocket`);
-  var currConnection = new Connection(ws,null,null,0);
+  var currConnection = new ProjectionRequest(ws,null,null,0);
   ws.on('message', function incoming(message) {
     parseMessage(message, currConnection);
   });
-- 
GitLab