From 0e02c2e8bd388f2844ac87523e769469aa77664c Mon Sep 17 00:00:00 2001 From: Majk Shkurti Date: Tue, 23 Jan 2024 10:14:20 +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 e3b99962..49c19086 100644 --- a/apps/web/lib/api/layers.ts +++ b/apps/web/lib/api/layers.ts @@ -113,7 +113,7 @@ export const getLayerClassBreaks = async ( breaks: number, ): Promise => { const response = await fetchWithAuth( - `${LAYERS_API_BASE_URL}/${layerId}/class-breaks/${operation}/${column}/?breaks=${breaks}`, + `${LAYERS_API_BASE_URL}/${layerId}/class-breaks/${operation}/${column}?breaks=${breaks}`, { method: "GET", },