Attempted upload progress fixes.

This commit is contained in:
Patrick Fic
2022-05-06 08:25:31 -07:00
parent 352d57bb36
commit d7be503a8e
9 changed files with 347 additions and 248 deletions

View File

@@ -67,13 +67,13 @@ const link = split(
// split based on operation type
({ query }) => {
const definition = getMainDefinition(query);
console.log(
"##Intercepted GQL Transaction : " +
definition.operation +
"|" +
// definition.name.value +
"##"
);
// console.log(
// "##Intercepted GQL Transaction : " +
// definition.operation +
// "|" +
// // definition.name.value +
// "##"
// );
return (
definition.kind === "OperationDefinition" &&
definition.operation === "subscription"