chore: remove console usage

This commit is contained in:
Alexis Tyler
2020-09-07 21:29:12 +09:30
parent 65e64c8990
commit f3bbddca13
4 changed files with 5 additions and 8 deletions
+2 -3
View File
@@ -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');
}
};