Skip to content

Commit

Permalink
fix: update environment variable for report PDF download URL
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoBeeAkto committed Jan 10, 2025
1 parent 23831da commit 83b1dae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public String downloadReportPDF() {
session.setAttribute("login", Context.now());
}

String url = System.getenv("PUPPETEER_REPLAY_SERVICE_URL") + "/downloadReportPDF";
String url = System.getenv("REPORT_PUPPETEER_REPLAY_SERVICE_URL") + "/downloadReportPDF";
JSONObject requestBody = new JSONObject();
requestBody.put("reportId", reportId);
requestBody.put("username", user.getName());
Expand All @@ -94,7 +94,7 @@ public String downloadReportPDF() {
loggerMaker.infoAndAddToDb("Polling pdf download status for report id - " + reportId, LogDb.DASHBOARD);

try {
String url = System.getenv("PUPPETEER_REPLAY_SERVICE_URL") + "/downloadReportPDF";
String url = System.getenv("REPORT_PUPPETEER_REPLAY_SERVICE_URL") + "/downloadReportPDF";
JSONObject requestBody = new JSONObject();
requestBody.put("reportId", reportId);
String reqData = requestBody.toString();
Expand Down

0 comments on commit 83b1dae

Please sign in to comment.