fix: broken build, refs NOISSUE
This commit is contained in:
parent
887a8a7b6a
commit
dfc02f6907
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user