Merge pull request #361 from cvium/fix_userid_type

DeviceQuery: change UserId to GUID
This commit is contained in:
Andrew Rabert 2019-01-02 13:15:11 -05:00 committed by GitHub
commit 0cafd7dfef
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -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; }
}
}