Update docs/plugins/call-existing-api.md

Co-authored-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2025-05-13 14:12:12 +02:00
committed by GitHub
parent 70f7fa6f0e
commit cbe2e5a0b3
+1 -1
View File
@@ -176,7 +176,7 @@ function FrobsAggregator() {
// highlight-next-line
const baseUrl = await discoveryApi.getBaseUrl('frobs-aggregator');
// highlight-next-line
const response = await fetch(`${baseUrl}/summary`);
const response = await fetchApi.fetch(`${baseUrl}/summary`);
return response.json();
}, [fetchApi, discoveryApi]);