Skip to content

Commit

Permalink
Add segment to campaign web request.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy12c committed Jun 26, 2024
1 parent 21d295e commit 9620081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<groupId>com.uci</groupId>
<artifactId>utils</artifactId>
<!--For Development we are using SNAPSHOT with version-->
<version>2.4.2</version>
<version>2.4.3</version>

<!-- On changing, Set version in build-deploy.yml to delete the previous packages if exists and deploy new package for the specified version -->

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/uci/utils/service/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public JSONArray getUsersFromFederatedServers(String campaignID, Map<String, Str
String header = null;
Boolean isHeader = Boolean.FALSE;
if (meta != null && meta.containsKey("page") && !meta.get("page").isEmpty()) {
baseURL = CAMPAIGN_URL + "/admin/bot/getAllUsers/" + campaignID + "/" + meta.get("page");
baseURL = CAMPAIGN_URL + "/admin/bot/getAllUsers/" + campaignID + "/" + meta.get("segment") + "/" + meta.get("page");
} else {
baseURL = CAMPAIGN_URL + "/admin/bot/getAllUsers/" + campaignID;
}
Expand Down

0 comments on commit 9620081

Please sign in to comment.