Skip to content

Commit ad8fdf0

Browse files
authored
Passed the correct argument to SetSlicedQuery in CursorPagingHandler (#7667)
1 parent 1664d37 commit ad8fdf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HotChocolate/Core/src/Types.CursorPagination/CursorPagingHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ protected async ValueTask<Connection<TEntity>> SliceAsync(
166166
// we store the original query and the sliced query in the
167167
// context for later use by customizations.
168168
context.SetOriginalQuery(originalQuery);
169-
context.SetSlicedQuery(originalQuery);
169+
context.SetSlicedQuery(slicedQuery);
170170

171171
// if no edges are required we will return a connection without edges.
172172
if (!edgesRequired)

0 commit comments

Comments
 (0)