From e64524e09e16ccb0633ccf9fa41b9756831701a9 Mon Sep 17 00:00:00 2001 From: sentriz Date: Sat, 12 Feb 2022 14:10:59 +0000 Subject: [PATCH] remove debug sql print --- server/ctrlsubsonic/handlers_raw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/ctrlsubsonic/handlers_raw.go b/server/ctrlsubsonic/handlers_raw.go index 3342a60..65b8e4b 100644 --- a/server/ctrlsubsonic/handlers_raw.go +++ b/server/ctrlsubsonic/handlers_raw.go @@ -111,7 +111,7 @@ func coverGetPathAlbum(dbc *db.DB, id int) (string, error) { func coverGetPathArtist(dbc *db.DB, id int) (string, error) { folder := &db.Album{} - err := dbc.DB.Debug(). + err := dbc.DB. Select("parent.id, parent.root_dir, parent.left_path, parent.right_path, parent.cover"). Joins("JOIN albums parent ON parent.id=albums.parent_id"). Where("albums.tag_artist_id=?", id).