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:18 +02:00
committed by GitHub
parent cbe2e5a0b3
commit 52fdc87462
+1 -1
View File
@@ -97,7 +97,7 @@ function FrobsAggregator() {
const { value, loading, error } = useAsync(async () => {
const baseUrl = await discoveryApi.getBaseUrl('proxy');
const response = await fetch(`${baseUrl}/frobs`);
const response = await fetchApi.fetch(`${baseUrl}/frobs`);
return response.json();
}, [fetchApi, discoveryApi]);