fix: typo

This commit is contained in:
leo 2025-01-09 18:14:11 +08:00
parent b06d14fec7
commit 810568e179
No known key found for this signature in database

View file

@ -492,11 +492,11 @@ namespace SourceGit
{
try
{
// Fetch lastest release information.
// Fetch latest release information.
var client = new HttpClient() { Timeout = TimeSpan.FromSeconds(5) };
var data = await client.GetStringAsync("https://sourcegit-scm.github.io/data/version.json");
// Parse json into Models.Version.
// Parse JSON into Models.Version.
var ver = JsonSerializer.Deserialize(data, JsonCodeGen.Default.Version);
if (ver == null)
return;