refactor(specid): have Lookup return *specid.ID

This commit is contained in:
sentriz
2026-02-07 18:26:46 +00:00
parent 9407450660
commit 4fff4185b5
4 changed files with 49 additions and 26 deletions

No files matched your search

+2
View File
@@ -42,6 +42,8 @@ func (c *Controller) ServeGetBookmarks(r *http.Request) *spec.Response {
var track db.Track
err := c.dbc.
Preload("Album").
Preload("Album.Artists").
Preload("Artists").
Find(&track, "id=?", bookmark.EntryID).
Error
if err != nil {