Skip to content

Commit

Permalink
Packing v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielLarsenNZ committed Sep 16, 2018
1 parent c40f277 commit b1ab673
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ AuthStateService stateService
public async Task<IEnumerable<Device>> GetDevices() => await _player.GetDevices(GetUserId());

[HttpPut("/api/spotify/playArtist")]
public async Task<ActionResult> 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")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="SpotifyApi.NetCore" Version="2.0.1" />
<!-- <ProjectReference Include="../../SpotifyApi.NetCore/SpotifyApi.NetCore.csproj" /> -->
</ItemGroup>

</Project>

0 comments on commit b1ab673

Please sign in to comment.