mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-09 18:36:27 +00:00
Merge branch 'development'
This commit is contained in:
commit
972f1c638c
1 file changed
+1
-1
@@ -58,7 +58,7 @@ public class WorkshopUpdateService : IWorkshopUpdateService
|
|||||||
{
|
{
|
||||||
// Query the latest version
|
// Query the latest version
|
||||||
IOperationResult<IGetEntryLatestReleaseByIdResult> latestReleaseResult = await _client.GetEntryLatestReleaseById.ExecuteAsync(installedEntry.Id);
|
IOperationResult<IGetEntryLatestReleaseByIdResult> latestReleaseResult = await _client.GetEntryLatestReleaseById.ExecuteAsync(installedEntry.Id);
|
||||||
IGetEntryById_Entry_LatestRelease_Entry? entry = latestReleaseResult.Data?.Entry?.LatestRelease?.Entry;
|
IEntrySummary? entry = latestReleaseResult.Data?.Entry?.LatestRelease?.Entry;
|
||||||
if (entry == null)
|
if (entry == null)
|
||||||
return false;
|
return false;
|
||||||
if (latestReleaseResult.Data?.Entry?.LatestRelease is not IRelease latestRelease)
|
if (latestReleaseResult.Data?.Entry?.LatestRelease is not IRelease latestRelease)
|
||||||
|
|||||||
Reference in new issue
Block a user