Skip to content

Commit

Permalink
Fix usage of indexUrlFormat config template for Merkliste
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Oct 26, 2023
1 parent 7089ccc commit bce78f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/nwbib/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ public static Promise<Result> showStars(String format, String ids) {
Stream<Promise<JsonNode>> promises = starredIds.stream()
.map(id -> WS
.url(String
.format(String.format("http://" + request().host() + "/" + CONFIG.getString("indexUrlFormat"), id)))
.format(String.format(CONFIG.getString("indexUrlFormat"), id)))
.setContentType("application/json").get()
.map(response -> response.asJson().get("member").get(0)));
return Promise.sequence(promises.collect(Collectors.toList()))
Expand Down

0 comments on commit bce78f4

Please sign in to comment.