From 311ac667ae6ec5738bae2759502e54bc4017d0b9 Mon Sep 17 00:00:00 2001 From: Peter Nowee Date: Mon, 14 Aug 2023 10:40:48 +0200 Subject: [PATCH] Adapt to count-service v0.2.0 --- app/routes/count.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/count.js b/app/routes/count.js index 4ece3c7..4759938 100644 --- a/app/routes/count.js +++ b/app/routes/count.js @@ -6,7 +6,7 @@ export default class CountRoute extends Route { async model() { let response = await fetch('/count'); let json = await response.json(); - return json.results.bindings[0]["callret-0"]["value"]; + return json.results.bindings[0]["triples"]["value"]; } }