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.
2 parents 1810d01 + 4ea6609 commit 9ae9ab1Copy full SHA for 9ae9ab1
lib/graphql-ws/graphql-subscription.service.ts
@@ -87,7 +87,7 @@ export class GraphQLSubscriptionService {
87
? protocol
88
: protocol?.split(',').map((p) => p.trim());
89
90
- protocols = protocols.filter((protocol) =>
+ protocols = protocols?.filter((protocol) =>
91
supportedProtocols.includes(protocol),
92
);
93
0 commit comments