diff --git a/TaxBaik.Web/Services/TaxFilingBrowserClient.cs b/TaxBaik.Web/Services/TaxFilingBrowserClient.cs index cd3afb2..9729fad 100644 --- a/TaxBaik.Web/Services/TaxFilingBrowserClient.cs +++ b/TaxBaik.Web/Services/TaxFilingBrowserClient.cs @@ -44,7 +44,7 @@ public class TaxFilingBrowserClient : ITaxFilingBrowserClient { EnsureAuthHeader(); var result = await _http.GetFromJsonAsync( - $"api/taxfiling/upcoming?daysAhead={daysAhead}", cancellationToken: ct); + $"taxfiling/upcoming?daysAhead={daysAhead}", cancellationToken: ct); return result?.Data ?? []; } catch (HttpRequestException ex) @@ -60,7 +60,7 @@ public class TaxFilingBrowserClient : ITaxFilingBrowserClient { EnsureAuthHeader(); var result = await _http.GetFromJsonAsync( - $"api/taxfiling/client/{clientId}", cancellationToken: ct); + $"taxfiling/client/{clientId}", cancellationToken: ct); return result?.Data ?? []; } catch (HttpRequestException ex) @@ -76,7 +76,7 @@ public class TaxFilingBrowserClient : ITaxFilingBrowserClient { EnsureAuthHeader(); return await _http.GetFromJsonAsync( - $"api/taxfiling/{id}", cancellationToken: ct); + $"taxfiling/{id}", cancellationToken: ct); } catch (HttpRequestException ex) { @@ -90,7 +90,7 @@ public class TaxFilingBrowserClient : ITaxFilingBrowserClient try { EnsureAuthHeader(); - var response = await _http.PostAsJsonAsync("api/taxfiling", filing, cancellationToken: ct); + var response = await _http.PostAsJsonAsync("taxfiling", filing, cancellationToken: ct); if (!response.IsSuccessStatusCode) return null; @@ -111,7 +111,7 @@ public class TaxFilingBrowserClient : ITaxFilingBrowserClient try { EnsureAuthHeader(); - var response = await _http.PutAsJsonAsync($"api/taxfiling/{id}", filing, cancellationToken: ct); + var response = await _http.PutAsJsonAsync($"taxfiling/{id}", filing, cancellationToken: ct); if (!response.IsSuccessStatusCode) return null; @@ -132,7 +132,7 @@ public class TaxFilingBrowserClient : ITaxFilingBrowserClient try { EnsureAuthHeader(); - var response = await _http.DeleteAsync($"api/taxfiling/{id}", cancellationToken: ct); + var response = await _http.DeleteAsync($"taxfiling/{id}", cancellationToken: ct); return response.IsSuccessStatusCode; } catch (HttpRequestException ex)