Skip to content

Commit d6e5a92

Browse files
author
Raul Hidalgo Caballero
committed
<>
1 parent 81abd13 commit d6e5a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphQL.Client/Http/GraphQLHttpClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public Task<IGraphQLSubscriptionResult> SendSubscribeAsync(GraphQLRequest reques
125125
var webSocketUri = new Uri($"{webSocketSchema}://{this.EndPoint.Host}:{this.EndPoint.Port}{this.EndPoint.AbsolutePath}");
126126
var graphQLSubscriptionResult = new GraphQLHttpSubscriptionResult(webSocketUri, request);
127127
graphQLSubscriptionResult.StartAsync(cancellationToken);
128-
return Task.FromResult((IGraphQLSubscriptionResult)graphQLSubscriptionResult);
128+
return Task.FromResult<IGraphQLSubscriptionResult>(graphQLSubscriptionResult);
129129
}
130130

131131
/// <summary>

0 commit comments

Comments
 (0)