We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966669f commit 9a91cffCopy full SHA for 9a91cff
packages/node_modules/overmind-graphql/src/index.ts
@@ -203,9 +203,9 @@ export const graphql: <T extends Queries>(
203
dispose: () =>
204
withAbsintheSocket.unobserve(client, notifier, observer),
205
});
206
+ } else {
207
+ throw createError('There is no ws client available for this query');
208
}
-
- throw createError('There is no ws client available for this query');
209
210
211
subscription.dispose = () => {
0 commit comments