aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/BaseApiService.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-03-17 23:10:21 -0400
committerLukePulverenti <luke.pulverenti@gmail.com>2013-03-17 23:10:21 -0400
commitcf61ac0264883e53f024088a88148b87cbbf89a7 (patch)
tree07912cbc932912335693377f4b82e1c4a0431335 /MediaBrowser.Api/BaseApiService.cs
parentc1d38106c745313073986499e06a168146162f8b (diff)
fixed client type display for ios. also fixed display preferences saving.
Diffstat (limited to 'MediaBrowser.Api/BaseApiService.cs')
-rw-r--r--MediaBrowser.Api/BaseApiService.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/MediaBrowser.Api/BaseApiService.cs b/MediaBrowser.Api/BaseApiService.cs
index ddc600da9..98e51ec40 100644
--- a/MediaBrowser.Api/BaseApiService.cs
+++ b/MediaBrowser.Api/BaseApiService.cs
@@ -51,11 +51,7 @@ namespace MediaBrowser.Api
{
var user = UserManager.GetUserById(new Guid(auth["UserId"]));
- ClientType clientType;
-
- Enum.TryParse(auth["Client"] ?? string.Empty, out clientType);
-
- UserManager.LogUserActivity(user, clientType, auth["DeviceId"], auth["Device"] ?? string.Empty);
+ UserManager.LogUserActivity(user, auth["Client"], auth["DeviceId"], auth["Device"] ?? string.Empty);
}
}