fix list avatars

This commit is contained in:
Luke Pulverenti 2015-10-26 14:55:46 -04:00
parent 3bca39bb68
commit 3cd7741893

View File

@ -19,7 +19,7 @@ namespace MediaBrowser.Common.Implementations.Security
public class PluginSecurityManager : ISecurityManager public class PluginSecurityManager : ISecurityManager
{ {
private const string MBValidateUrl = MbAdmin.HttpsUrl + "service/registration/validate"; private const string MBValidateUrl = MbAdmin.HttpsUrl + "service/registration/validate";
private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "http://mb3admin.com/test/admin/" + "service/appstore/register"; private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "http://mb3admin.com/admin/" + "service/appstore/register";
/// <summary> /// <summary>
/// The _is MB supporter /// The _is MB supporter
@ -199,7 +199,7 @@ namespace MediaBrowser.Common.Implementations.Security
Url = AppstoreRegUrl, Url = AppstoreRegUrl,
CancellationToken = CancellationToken.None CancellationToken = CancellationToken.None
}; };
options.RequestHeaders.Add("X-Emby-Token", /*_appHost.SystemId*/ "08606E86D043"); options.RequestHeaders.Add("X-Emby-Token", _appHost.SystemId);
options.RequestContent = parameters; options.RequestContent = parameters;
options.RequestContentType = "application/json"; options.RequestContentType = "application/json";