diff --git a/MixItUp.Base/Services/YouTube/YouTubeSessionService.cs b/MixItUp.Base/Services/YouTube/YouTubeSessionService.cs index 169e8a6e7..d26c92364 100644 --- a/MixItUp.Base/Services/YouTube/YouTubeSessionService.cs +++ b/MixItUp.Base/Services/YouTube/YouTubeSessionService.cs @@ -67,12 +67,12 @@ public async Task ConnectUser() Result result = await YouTubePlatformService.ConnectUser(); if (result.Success) { - this.UserConnection = result.Value; - this.User = await this.UserConnection.GetCurrentChannel(); + this.User = await result.Value.GetCurrentChannel(); if (this.User == null) { return new Result(MixItUp.Base.Resources.YouTubeFailedToGetUserData); } + this.UserConnection = result.Value; await this.RefreshChannel(); }