mirror of
https://github.com/unraid/api.git
synced 2026-04-26 09:18:19 -05:00
chore: remove console usage
This commit is contained in:
@@ -371,7 +371,7 @@ export const graphql = {
|
||||
wsHasDisconnected(websocketId);
|
||||
}
|
||||
},
|
||||
context: ({req, connection, ...args_}, ...args__) => {
|
||||
context: ({ req, connection }) => {
|
||||
// Normal Websocket connection
|
||||
if (connection && Object.keys(connection.context).length >= 1) {
|
||||
// Check connection for metadata
|
||||
@@ -388,8 +388,7 @@ export const graphql = {
|
||||
user
|
||||
};
|
||||
}
|
||||
|
||||
console.log({req, connection, args_, args__});
|
||||
|
||||
throw new Error('Invalid');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user