mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Upload statistics from the database.
This commit is contained in:
@@ -126,7 +126,6 @@ namespace DiscImageChef.Core
|
||||
{
|
||||
NullValueHandling = NullValueHandling.Ignore
|
||||
}));
|
||||
jsonSw.Close();
|
||||
jsonStream.Seek(0, SeekOrigin.Begin);
|
||||
WebRequest request = WebRequest.Create("http://discimagechef.claunia.com/api/uploadreportv2");
|
||||
((HttpWebRequest)request).UserAgent = $"DiscImageChef {typeof(Version).Assembly.GetName().Version}";
|
||||
@@ -146,6 +145,7 @@ namespace DiscImageChef.Core
|
||||
reader.ReadToEnd();
|
||||
data.Close();
|
||||
response.Close();
|
||||
jsonSw.Close();
|
||||
jsonStream.Close();
|
||||
}
|
||||
catch(WebException)
|
||||
|
||||
Reference in New Issue
Block a user