mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(clients): ♻ ren IDirectoryApi
This commit is contained in:
parent
e0c6126a9e
commit
7732799d20
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ public static class ConfigurationExtensions
|
|||
{
|
||||
public static void AddApiClients(this IServiceCollection services)
|
||||
{
|
||||
services.AddRefitClient<IDirectoryApiClient>()
|
||||
services.AddRefitClient<IDirectoryApi>()
|
||||
.ConfigureHttpClient(c => c.BaseAddress = new Uri("http://directory-api/api"));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
namespace FilterLists.SharedKernel.Apis.Clients
|
||||
{
|
||||
public interface IDirectoryApiClient
|
||||
public interface IDirectoryApi
|
||||
{
|
||||
[Get("/lists")]
|
||||
Task<IEnumerable<ListVm>> GetListsAsync(CancellationToken cancellationToken = default);
|
||||
Loading…
Reference in a new issue