mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
use string.empty instead of null
This commit is contained in:
parent
a4edbc2cb9
commit
f72b716fb4
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ namespace Flow.Launcher.Infrastructure.Http
|
|||
Log.Debug($"|Http.Get|Url <{url}>");
|
||||
using var response = await client.GetAsync(url, token);
|
||||
if (token.IsCancellationRequested)
|
||||
return null;
|
||||
return string.Empty;
|
||||
var content = await response.Content.ReadAsStringAsync();
|
||||
if (response.StatusCode == HttpStatusCode.OK)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue