Resolved issue with Song record being deleted after updating the metadata records. #37
This commit is contained in:
@@ -87,7 +87,7 @@ namespace Icarus.Controllers
|
||||
|
||||
|
||||
[HttpPut("{id}")]
|
||||
[Authorize("update:songs")]
|
||||
//[Authorize("update:songs")]
|
||||
public IActionResult Put(int id, [FromBody] Song song)
|
||||
{
|
||||
MusicStoreContext context = HttpContext
|
||||
|
||||
Reference in New Issue
Block a user