Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/98bc2fea8b20a52edfd142fbbf2ffbf79b0608b0 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Removed dupe ToDeviceInfo

pull/10422/head
LJQ 2 years ago
parent 2f9b44fcd0
commit 98bc2fea8b

@ -226,24 +226,7 @@ namespace Jellyfin.Server.Implementations.Devices
|| !GetCapabilities(deviceId).SupportsPersistentIdentifier;
}
private DeviceInfo ToDeviceInfo(Device authInfo)
{
var caps = GetCapabilities(authInfo.DeviceId);
return new DeviceInfo
{
AppName = authInfo.AppName,
AppVersion = authInfo.AppVersion,
Id = authInfo.DeviceId,
LastUserId = authInfo.UserId,
LastUserName = authInfo.User.Username,
Name = authInfo.DeviceName,
DateLastActivity = authInfo.DateLastActivity,
IconUrl = caps.IconUrl
};
}
private DeviceInfo ToDeviceInfo(Device authInfo, DeviceOptions? options)
private DeviceInfo ToDeviceInfo(Device authInfo, DeviceOptions? options = null)
{
var caps = GetCapabilities(authInfo.DeviceId);

Loading…
Cancel
Save