Added grant permissions for streaming songs #7

This commit is contained in:
amazing-username
2019-05-29 00:25:17 +00:00
parent 42facee883
commit a2b7271498
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ namespace Icarus.Controllers.V1
#region HTTP endpoints
[HttpGet("{id}")]
[Authorize("stream:songs")]
public async Task<IActionResult> Get(int id)
{
var songStore= HttpContext