Make all optional strings nullable

This commit is contained in:
crobibero
2020-06-27 10:50:44 -06:00
parent 90c01327aa
commit 73bcda7eac
33 changed files with 143 additions and 145 deletions

View File

@@ -208,7 +208,7 @@ namespace Jellyfin.Api.Controllers
public async Task<ActionResult> DownloadRemoteImage(
[FromRoute] Guid itemId,
[FromQuery, BindRequired] ImageType type,
[FromQuery] string imageUrl)
[FromQuery] string? imageUrl)
{
var item = _libraryManager.GetItemById(itemId);
if (item == null)