Fix vue appolo graphql middleware

This commit is contained in:
Chocobozzz
2018-12-28 15:41:32 +01:00
parent 3c1b0448a8
commit 649bc5624d
3 changed files with 5 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ const authMiddleware = new ApolloLink((operation, forward) => {
},
});
if (forward) forward(operation);
if (forward) return forward(operation);
return null;
});