Skip to content

Commit

Permalink
Fix usage of indexUrlFormat config template for Merkliste
Browse files Browse the repository at this point in the history
fsteeg committed Oct 26, 2023
1 parent d894b8f commit 3426e0f
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
@@ -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()))

0 comments on commit 3426e0f

Please sign in to comment.