diff options
| author | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-13 20:25:32 +0100 |
|---|---|---|
| committer | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-13 20:25:32 +0100 |
| commit | 26ca4b607b98b78b44a7300bcf9890360e598393 (patch) | |
| tree | 68a3915185dd2ae3846c7641dce2a20daf74cc67 /MediaBrowser.Controller/Net/AuthorizationInfo.cs | |
| parent | 106d1d18ed5781043312194590aa37dc8a3072d0 (diff) | |
Visual Studio Reformat: MediaBrowser.Controller
Diffstat (limited to 'MediaBrowser.Controller/Net/AuthorizationInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/AuthorizationInfo.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/Net/AuthorizationInfo.cs b/MediaBrowser.Controller/Net/AuthorizationInfo.cs index 86c7b7e0f5..4af0480f6d 100644 --- a/MediaBrowser.Controller/Net/AuthorizationInfo.cs +++ b/MediaBrowser.Controller/Net/AuthorizationInfo.cs @@ -1,5 +1,5 @@ -using MediaBrowser.Controller.Entities; -using System; +using System; +using MediaBrowser.Controller.Entities; namespace MediaBrowser.Controller.Net { @@ -9,8 +9,10 @@ namespace MediaBrowser.Controller.Net /// Gets or sets the user identifier. /// </summary> /// <value>The user identifier.</value> - public Guid UserId { - get { + public Guid UserId + { + get + { return User == null ? Guid.Empty : User.Id; } } |
