Refactoring

This commit is contained in:
kdeng00
2021-12-26 22:17:14 -05:00
parent b529731c95
commit aa0a1ab5fe
8 changed files with 400 additions and 413 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ namespace Icarus.Controllers.V1
[HttpGet("{id}")]
[HttpGet("download/{id}")]
[Route("private-scoped")]
[Authorize("download:songs")]
public async Task<IActionResult> Get(int id)
@@ -93,7 +93,7 @@ namespace Icarus.Controllers.V1
return NotFound();
}
[HttpDelete("{id}")]
[HttpDelete("delete/{id}")]
[Authorize("delete:songs")]
public IActionResult Delete(int id)
{