diff --git a/src/Backend/DiunaBI.UI.Shared/Services/AuthService.cs b/src/Backend/DiunaBI.UI.Shared/Services/AuthService.cs index c88a47b..42b109e 100644 --- a/src/Backend/DiunaBI.UI.Shared/Services/AuthService.cs +++ b/src/Backend/DiunaBI.UI.Shared/Services/AuthService.cs @@ -37,7 +37,7 @@ public class AuthService Console.WriteLine($"=== ValidateWithBackend: Sending Google credential for {email} ==="); // Wyƛlij Google credential do backendu - var response = await _httpClient.PostAsJsonAsync("/Auth/apiToken", googleCredential); + var response = await _httpClient.PostAsJsonAsync("Auth/apiToken", googleCredential); if (response.IsSuccessStatusCode) { diff --git a/src/Backend/DiunaBI.UI.Shared/Services/LayerService.cs b/src/Backend/DiunaBI.UI.Shared/Services/LayerService.cs index 94cce07..98c8624 100644 --- a/src/Backend/DiunaBI.UI.Shared/Services/LayerService.cs +++ b/src/Backend/DiunaBI.UI.Shared/Services/LayerService.cs @@ -23,7 +23,7 @@ public class LayerService { // Calculate start index from page number (page 1 = start 0, page 2 = start 50, etc.) var start = (filterRequest.Page - 1) * filterRequest.PageSize; - var query = $"/Layers?start={start}&limit={filterRequest.PageSize}"; + var query = $"Layers?start={start}&limit={filterRequest.PageSize}"; if (!string.IsNullOrEmpty(filterRequest.Search)) query += $"&name={Uri.EscapeDataString(filterRequest.Search)}"; @@ -44,7 +44,7 @@ public class LayerService public async Task GetLayerByIdAsync(Guid id) { - var response = await _httpClient.GetAsync($"/Layers/{id}"); + var response = await _httpClient.GetAsync($"Layers/{id}"); if (!response.IsSuccessStatusCode) return null;