mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
update mouse handler
This commit is contained in:
@@ -208,6 +208,12 @@ namespace MediaBrowser.Common.Implementations.Security
|
||||
using (var response = await _httpClient.Post(options).ConfigureAwait(false))
|
||||
{
|
||||
var reg = _jsonSerializer.DeserializeFromStream<RegRecord>(response.Content);
|
||||
|
||||
if (reg == null)
|
||||
{
|
||||
_logger.Warn("Result from appstore registration was null. Defaulting to empty.");
|
||||
reg = new RegRecord();
|
||||
}
|
||||
if (!String.IsNullOrEmpty(reg.key))
|
||||
{
|
||||
SupporterKey = reg.key;
|
||||
|
||||
Reference in New Issue
Block a user