We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd4d1ef commit 06a0978Copy full SHA for 06a0978
src/main/java/org/example/project/service/StoncksPlotService.java
@@ -13,7 +13,7 @@ public class StoncksPlotService {
13
public String getPlotImage(String period) {
14
try {
15
HttpClient client = HttpClient.newHttpClient();
16
- String pythonServiceUrl = "http://172.17.0.1:8000/plot?period=week";
+ String pythonServiceUrl = "http://172.17.0.1:8000/plot?period=" + period;
17
HttpRequest request = HttpRequest.newBuilder()
18
.uri(new URI(pythonServiceUrl))
19
.GET()
0 commit comments