Finished API functionality for Genre and Year endpoints. #41 and #42. Working on refining the updating song api route that's part of the clean up issue. #37

This commit is contained in:
amazing-username
2019-05-18 02:09:59 -04:00
parent 30abf31877
commit 41398461be
5 changed files with 93 additions and 18 deletions
+1 -2
View File
@@ -60,8 +60,7 @@ namespace Icarus.Controllers
}
[HttpPost]
// TODO: Remember to uncomment the line below
//[Authorize("upload:songs")]
[Authorize("upload:songs")]
public async Task Post([FromForm(Name = "file")] List<IFormFile> songData)
{
try