aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2015-09-27 12:45:53 -0400
committerEric Reed <ebr@mediabrowser3.com>2015-09-27 12:45:53 -0400
commit9f138d86b1f1dd24d02cdf0a24148a280615a0fa (patch)
tree32c61f99647948a17893edc521b3c7470dc7ad9e /MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
parent33ab78155fd2442e275ec64a8390251fde1a139d (diff)
Revert "Add missing param"
This reverts commit 41715f145d1ff47b95d870ff8f224e778b25e695.
Diffstat (limited to 'MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs')
-rw-r--r--MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs12
1 files changed, 2 insertions, 10 deletions
diff --git a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
index 410611c8a..18a0cf856 100644
--- a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
+++ b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
@@ -186,7 +186,7 @@ namespace MediaBrowser.Common.Implementations.Security
}
}
- public async Task<Boolean> RegisterAppStoreSale(string store, string application, string product, string feature,
+ public async Task<Boolean> RegisterAppStoreSale(string store, string application, string product,
string type, string storeId, string storeToken, string email, string amt)
{
var data = new Dictionary<string, string>()
@@ -194,7 +194,6 @@ namespace MediaBrowser.Common.Implementations.Security
{"store", store},
{"application", application},
{"product", product},
- {"feature", feature},
{"type", type},
{"storeId", storeId},
{"token", storeToken},
@@ -202,16 +201,9 @@ namespace MediaBrowser.Common.Implementations.Security
{"amt", amt}
};
- var options = new HttpRequestOptions()
- {
- Url = AppstoreRegUrl,
- CancellationToken = CancellationToken.None
- };
- options.RequestHeaders.Add("X-Emby-Token", /*_appHost.SystemId*/ "08606E86D043");
-
try
{
- using (var json = await _httpClient.Post(options, data).ConfigureAwait(false))
+ using (var json = await _httpClient.Post(AppstoreRegUrl, data, CancellationToken.None).ConfigureAwait(false))
{
var reg = _jsonSerializer.DeserializeFromStream<RegRecord>(json);
if (!String.IsNullOrEmpty(reg.key))