diff --git a/src/samples/spotify-aspnetcore21/Controllers/SpotifyController.cs b/src/samples/spotify-aspnetcore21/Controllers/SpotifyController.cs index db8f8f2..13c7427 100644 --- a/src/samples/spotify-aspnetcore21/Controllers/SpotifyController.cs +++ b/src/samples/spotify-aspnetcore21/Controllers/SpotifyController.cs @@ -61,11 +61,7 @@ AuthStateService stateService public async Task> GetDevices() => await _player.GetDevices(GetUserId()); [HttpPut("/api/spotify/playArtist")] - public async Task PlayArtist([FromQuery]string spotifyUri) - { - await _player.PlayContext(GetUserId(), spotifyUri); - return Ok(); - } + public async Task PlayArtist([FromQuery]string spotifyUri) => await _player.PlayContext(GetUserId(), spotifyUri); [HttpPost("[action]")] [Route("api/spotify/authorize")] diff --git a/src/samples/spotify-aspnetcore21/SpotifyAspNetCore21.csproj b/src/samples/spotify-aspnetcore21/SpotifyAspNetCore21.csproj index 9d84349..6ecdeaf 100644 --- a/src/samples/spotify-aspnetcore21/SpotifyAspNetCore21.csproj +++ b/src/samples/spotify-aspnetcore21/SpotifyAspNetCore21.csproj @@ -11,6 +11,7 @@ +