Skip to content

Commit

Permalink
Solution for category uppercase/lowercase and discrimination between …
Browse files Browse the repository at this point in the history
…calls and SMS records. Issue #2302
  • Loading branch information
Fernando Mendioroz committed Oct 13, 2017
1 parent 44de7b5 commit 040221a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ protected Response getUsage(final String accountSid, final String subresource, U
secure(accountsDao.getAccount(accountSid), "RestComm:Read:Usage");

String categoryStr = info.getQueryParameters().getFirst("Category");
categoryStr = categoryStr.toUpperCase();
String startDateStr = info.getQueryParameters().getFirst("StartDate");
String endDateStr = info.getQueryParameters().getFirst("EndDate");
//pass in reqUri without query params
Expand Down

0 comments on commit 040221a

Please sign in to comment.