diff --git a/RDNET/RdNetClient.cs b/RDNET/RdNetClient.cs index 8dd973b..cc7ecac 100644 --- a/RDNET/RdNetClient.cs +++ b/RDNET/RdNetClient.cs @@ -95,7 +95,7 @@ public RdNetClient(String? appId = null, HttpClient? httpClient = null, Int32 re _store.AppId= appId ?? "X245A4XAIBGVM"; _store.RetryCount = retryCount; - if (apiHostname != null) + if (!String.IsNullOrWhiteSpace(apiHostname)) { _store.ApiHostname = apiHostname; }