Saving changes

This commit is contained in:
phoenix
2025-04-03 20:35:02 -04:00
parent a091f8c9f9
commit 60b07a7065
17 changed files with 38 additions and 30 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ public class SongDataController : BaseController
[HttpGet("download/{id}")]
public IActionResult Download(int id, [FromQuery] bool? randomizeFilename)
public IActionResult Download(Guid id, [FromQuery] bool? randomizeFilename)
{
var tokenManager = new TokenManager(this._config!);
var songContext = new SongContext(this._connectionString!);
@@ -172,7 +172,7 @@ public class SongDataController : BaseController
}
[HttpDelete("delete/{id}")]
public IActionResult DeleteSong(int id)
public IActionResult DeleteSong(Guid id)
{
var songContext = new SongContext(_connectionString!);
var songMetaData = songContext.RetrieveRecord(new Song { Id = id });