Merge pull request #361 from cvium/fix_userid_type
DeviceQuery: change UserId to GUID
This commit is contained in:
commit
0cafd7dfef
|
@ -145,7 +145,8 @@ namespace Emby.Server.Implementations.Devices
|
|||
HasUser = true
|
||||
|
||||
}).Items;
|
||||
|
||||
|
||||
// TODO: DeviceQuery doesn't seem to be used from client. Not even Swagger.
|
||||
if (query.SupportsSync.HasValue)
|
||||
{
|
||||
var val = query.SupportsSync.Value;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Devices
|
||||
{
|
||||
public class DeviceQuery
|
||||
|
@ -17,6 +19,6 @@ namespace MediaBrowser.Model.Devices
|
|||
/// Gets or sets the user identifier.
|
||||
/// </summary>
|
||||
/// <value>The user identifier.</value>
|
||||
public string UserId { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user