From e92440e257b4df4a232a28701143a4f9db730458 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 8 Mar 2024 15:36:50 -0300 Subject: fix #8489 --- packages/aml-backoffice-ui/src/context/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/aml-backoffice-ui') diff --git a/packages/aml-backoffice-ui/src/context/config.ts b/packages/aml-backoffice-ui/src/context/config.ts index 3f62258c6..0ea491ca4 100644 --- a/packages/aml-backoffice-ui/src/context/config.ts +++ b/packages/aml-backoffice-ui/src/context/config.ts @@ -15,7 +15,7 @@ */ import { TalerExchangeApi, TalerExchangeHttpClient, TalerError } from "@gnu-taler/taler-util"; -import { BrowserHttpLib, useTranslationContext } from "@gnu-taler/web-util/browser"; +import { BrowserFetchHttpLib, useTranslationContext } from "@gnu-taler/web-util/browser"; import { ComponentChildren, createContext, FunctionComponent, h, VNode } from "preact"; import { useContext, useEffect, useState } from "preact/hooks"; import { ErrorLoading } from "@gnu-taler/web-util/browser"; @@ -61,7 +61,7 @@ export const ExchangeApiProvider = ({ const [checked, setChecked] = useState() const { i18n } = useTranslationContext(); const url = new URL(baseUrl) - const api = new TalerExchangeHttpClient(url.href, new BrowserHttpLib()) + const api = new TalerExchangeHttpClient(url.href, new BrowserFetchHttpLib()) useEffect(() => { api.getConfig() .then((resp) => { -- cgit v1.2.3