.NET 8 Update (#2496)

This commit is contained in:
Joe Milazzo 2023-12-13 19:16:54 -06:00 committed by GitHub
parent 6d4d2d4a7f
commit b838fd53e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
75 changed files with 590 additions and 405 deletions

View file

@ -13,7 +13,6 @@ using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace API.Services.Tasks;
#nullable enable
internal class GithubReleaseMetadata
@ -76,7 +75,7 @@ public class VersionUpdaterService : IVersionUpdaterService
/// Fetches the latest release from Github
/// </summary>
/// <returns>Latest update</returns>
public async Task<UpdateNotificationDto> CheckForUpdate()
public async Task<UpdateNotificationDto?> CheckForUpdate()
{
var update = await GetGithubRelease();
return CreateDto(update);