mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-23 22:21:04 +02:00
Merge pull request #361 from cvium/fix_userid_type
DeviceQuery: change UserId to GUID
This commit is contained in:
commit
0cafd7dfef
|
@ -146,6 +146,7 @@ namespace Emby.Server.Implementations.Devices
|
||||||
|
|
||||||
}).Items;
|
}).Items;
|
||||||
|
|
||||||
|
// TODO: DeviceQuery doesn't seem to be used from client. Not even Swagger.
|
||||||
if (query.SupportsSync.HasValue)
|
if (query.SupportsSync.HasValue)
|
||||||
{
|
{
|
||||||
var val = query.SupportsSync.Value;
|
var val = query.SupportsSync.Value;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace MediaBrowser.Model.Devices
|
namespace MediaBrowser.Model.Devices
|
||||||
{
|
{
|
||||||
public class DeviceQuery
|
public class DeviceQuery
|
||||||
|
@ -17,6 +19,6 @@ namespace MediaBrowser.Model.Devices
|
||||||
/// Gets or sets the user identifier.
|
/// Gets or sets the user identifier.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The user identifier.</value>
|
/// <value>The user identifier.</value>
|
||||||
public string UserId { get; set; }
|
public Guid UserId { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue