@alfresco/adf-process-services-cloud 8.4.0-18495283872 → 8.4.0-18550319575
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2312,9 +2312,9 @@ class WebSocketService {
|
|
|
2312
2312
|
createGraphQLWsLink(options) {
|
|
2313
2313
|
this.wsLink = new GraphQLWsLink(createClient({
|
|
2314
2314
|
url: this.createWsUrl(options.wsUrl) + '/v2/ws/graphql',
|
|
2315
|
-
connectionParams: {
|
|
2315
|
+
connectionParams: () => ({
|
|
2316
2316
|
Authorization: 'Bearer ' + this.authService.getToken()
|
|
2317
|
-
},
|
|
2317
|
+
}),
|
|
2318
2318
|
on: {
|
|
2319
2319
|
error: () => {
|
|
2320
2320
|
this.apollo.removeClient(options.apolloClientName);
|