Skip to content

Commit 5843a9f

Browse files
authored
Use the correct middleware in the UseTimeout extension method (#7136)
1 parent 0dfde76 commit 5843a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HotChocolate/Core/src/Execution/DependencyInjection/RequestExecutorBuilderExtensions.UseRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static IRequestExecutorBuilder UseExceptions(
100100

101101
public static IRequestExecutorBuilder UseTimeout(
102102
this IRequestExecutorBuilder builder) =>
103-
builder.UseRequest(DocumentParserMiddleware.Create());
103+
builder.UseRequest(TimeoutMiddleware.Create());
104104

105105
public static IRequestExecutorBuilder UseInstrumentation(
106106
this IRequestExecutorBuilder builder) =>

0 commit comments

Comments
 (0)