Skip to content

Commit

Permalink
Fix bug in numWorkItemsArePending
Browse files Browse the repository at this point in the history
Signed-off-by: Mikayla Thompson <thomika@amazon.com>
  • Loading branch information
mikaylathompson committed Oct 23, 2024
1 parent db0075e commit 31ae47d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ private int numWorkItemsArePending(
+ " instead of 200"
);
}
return resultHitsUpper.path("hits").size();
return resultHitsUpper.path("total").path("value").asInt();
}
}

Expand Down

0 comments on commit 31ae47d

Please sign in to comment.