mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
commit
937e2a84e8
@ -928,7 +928,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
[FromRoute] int? imageIndex = null)
|
[FromRoute] int? imageIndex = null)
|
||||||
{
|
{
|
||||||
var user = _userManager.GetUserById(userId);
|
var user = _userManager.GetUserById(userId);
|
||||||
if (user == null)
|
if (user?.ProfileImage == null)
|
||||||
{
|
{
|
||||||
return NotFound();
|
return NotFound();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user