From 06642893d1f77217b23960eabc99cd657b84470a Mon Sep 17 00:00:00 2001 From: frankpagan Date: Sat, 18 Nov 2023 10:01:30 -0600 Subject: [PATCH] fix: removed dead code --- src/server.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/server.js b/src/server.js index e2cbe0f..4016fdc 100644 --- a/src/server.js +++ b/src/server.js @@ -6,18 +6,6 @@ CRUD.setSocket(socket); var api = (() => { return { - send_response: (wsManager, socket, obj, send_response) => { - wsManager.send(socket, send_response, obj) - }, - - handleError: (wsManager, socket, action, error, component) => { - const response = { - 'object': 'error', - 'data': error || error.response || error.response.data || error.response.body || error.message || error, - }; - wsManager.send(socket, component, { action, response }) - }, - getOrg: async (config, component) => { socket.create({