summaryrefslogtreecommitdiff
path: root/src/clients/loaders.ts
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-05-01 12:25:03 -0600
committerHombreLaser <sebastian-440@live.com>2023-05-01 12:25:03 -0600
commitf6cc288cd67308330a83094bc2f0b64132ad81e8 (patch)
tree991cf52ca51ba6f0bb7bd3c18675111059efca51 /src/clients/loaders.ts
parentc7e493ce3d2855e61787d86714625bc7fc51f9bd (diff)
Vista de proveedores
Diffstat (limited to 'src/clients/loaders.ts')
-rw-r--r--src/clients/loaders.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/loaders.ts b/src/clients/loaders.ts
index 43c1581..334f8aa 100644
--- a/src/clients/loaders.ts
+++ b/src/clients/loaders.ts
@@ -3,7 +3,7 @@ import { ApiClient } from "./api_client";
export async function loader({ request }) {
const client = new ApiClient();
const url = new URL(request.url)
- const response = await client.get(url.pathname);
+ const response = await client.get(`${url.pathname}${url.search}`);
return response;
}