From 284756ed96604f7cf771e1c311848f32f8480308 Mon Sep 17 00:00:00 2001 From: Majk Shkurti Date: Tue, 23 Jan 2024 10:08:21 +0100 Subject: [PATCH] fix: url bug --- apps/web/lib/api/layers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/lib/api/layers.ts b/apps/web/lib/api/layers.ts index 16f772f4..e3b99962 100644 --- a/apps/web/lib/api/layers.ts +++ b/apps/web/lib/api/layers.ts @@ -60,7 +60,7 @@ export const useLayerClassBreaks = ( () => operation && column && breaks ? [ - `${LAYERS_API_BASE_URL}/${layerId}/class-breaks/${operation}/${column}/?breaks=${breaks}`, + `${LAYERS_API_BASE_URL}/${layerId}/class-breaks/${operation}/${column}?breaks=${breaks}`, ] : null, fetcher,