Merge pull request #361 from cvium/fix_userid_type

DeviceQuery: change UserId to GUID
pull/702/head
Andrew Rabert 6 years ago committed by GitHub
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…
Cancel
Save