Skip to content

Commit

Permalink
feat: add support for date ranges in statistic endpoint #1575
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab committed Jul 2, 2022
1 parent 610506c commit 9dcc2e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void statWithDateRange(final String umaPatClientId, final String umaPatCl
final Token authorization = UmaClient.requestPat(tokenEndpoint, umaPatClientId, umaPatClientSecret);

final StatService service = ClientFactory.instance().createStatService(issuer + STAT_PATH);
final JsonNode node = service.stat("Bearer " + authorization.getAccessToken(), null,"202201", "202204", null);
final JsonNode node = service.stat("Bearer " + authorization.getAccessToken(), null, "202201", "202204", null);
assertTrue(node != null && node.hasNonNull("response"));
}

Expand Down

0 comments on commit 9dcc2e1

Please sign in to comment.