mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
commit
937e2a84e8
1 changed files with 1 additions and 1 deletions
|
@ -928,7 +928,7 @@ namespace Jellyfin.Api.Controllers
|
|||
[FromRoute] int? imageIndex = null)
|
||||
{
|
||||
var user = _userManager.GetUserById(userId);
|
||||
if (user == null)
|
||||
if (user?.ProfileImage == null)
|
||||
{
|
||||
return NotFound();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue