From cbe2e5a0b34b5a55e705d79ee2888460a40ce680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Tue, 13 May 2025 14:12:12 +0200 Subject: [PATCH] Update docs/plugins/call-existing-api.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com> Signed-off-by: Fredrik Adelöw --- docs/plugins/call-existing-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins/call-existing-api.md b/docs/plugins/call-existing-api.md index 60a71f089a..ba0f519e5e 100644 --- a/docs/plugins/call-existing-api.md +++ b/docs/plugins/call-existing-api.md @@ -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]);