mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
specify UA for RestSharp client
This commit is contained in:
parent
2d4d9aef26
commit
f3e5079f36
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ public class FilterListsApiClient : IFilterListsApiClient
|
|||
|
||||
public FilterListsApiClient()
|
||||
{
|
||||
_restClient = new RestClient(FilterListsApiBaseUrl);
|
||||
_restClient = new RestClient(FilterListsApiBaseUrl) {UserAgent = "FilterLists.Agent"};
|
||||
}
|
||||
|
||||
public async Task<TResponse> ExecuteAsync<TResponse>(IRestRequest request)
|
||||
|
|
|
|||
Loading…
Reference in a new issue