1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 21:38:38 +00:00

Try to fix CI build

This commit is contained in:
Robert 2024-07-22 14:52:30 +02:00
parent 9001a12625
commit 7f5bb589af

View File

@ -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)