Added grant permissions for streaming songs #7

This commit is contained in:
amazing-username committed 2019-05-29 00:25:17 +00:00
1 parent 42facee883
commit a2b7271498
2 files changed
+6

No files matched your search

+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