fix: broken build, refs NOISSUE

This commit is contained in:
Simon Diesenreiter 2025-06-25 10:02:09 +02:00
parent 887a8a7b6a
commit dfc02f6907

View File

@ -9,11 +9,17 @@ public class Base64UrlImageBuilder
var httpClient = new HttpClient();
var response = (httpClient.GetAsync(new Uri($"{value}"))).Result;
var bytes = (response.Content.ReadAsByteArrayAsync()).Result;
FileContents = Convert.ToBase64String(bytes);
_fileContents = Convert.ToBase64String(bytes);
}
}
private required string FileContents { get; set; }
private string _fileContents = string.Empty;
public string FileContents {
get {
return _fileContents;
}
}
public override string ToString()
{