Skip to content

Commit

Permalink
fix: removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Nov 18, 2023
1 parent 097af15 commit 0664289
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 0664289

Please sign in to comment.