diff --git a/apps/web/api/ius/query.ts b/apps/web/api/ius/query.ts index e6b2130..41e3450 100644 --- a/apps/web/api/ius/query.ts +++ b/apps/web/api/ius/query.ts @@ -6,7 +6,7 @@ import type { WretchError } from 'wretch'; import wretch from 'wretch'; const urls = getUrls(); -const api = wretch(urls.URL_UIS).errorType('json'); +const api = wretch(urls.URL_IUS).errorType('json'); type Input = { pageUrlParams: PageUrlParams; payload?: unknown }; diff --git a/apps/web/config/urls.ts b/apps/web/config/urls.ts index f44a44b..d3e0f20 100644 --- a/apps/web/config/urls.ts +++ b/apps/web/config/urls.ts @@ -4,6 +4,6 @@ const { URL_IUS_DIRECT } = getEnv(); export function getUrls() { return { - URL_UIS: URL_IUS_DIRECT, + URL_IUS: URL_IUS_DIRECT, }; }