Change id types (#114)

* Change id types

* Updated more models

* Saving changes

* Should be it
This commit was merged in pull request #114.
This commit is contained in:
KD
2025-04-03 21:13:05 -04:00
committed by GitHub
parent 12c4f56a22
commit 8abb196e1d
29 changed files with 147 additions and 37 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ public class CoverArtController : BaseController
}
[HttpGet("{id}")]
public IActionResult GetCoverArt(int id)
public IActionResult GetCoverArt(Guid id)
{
var coverArt = new CoverArt { Id = id };
@@ -74,7 +74,7 @@ public class CoverArtController : BaseController
}
[HttpGet("data/download/{id}")]
public async Task<IActionResult> Download(int id, [FromQuery] bool? randomizeFilename)
public async Task<IActionResult> Download(Guid id, [FromQuery] bool? randomizeFilename)
{
var songContext = new SongContext(_connectionString!);
var covMgr = new CoverArtManager(this._config!);