Skip to content

🎧 Your Personal Streaming Service

Removed unused function

Deluanbc2073fbd51d
diff --git a/server/subsonic/engine/common.go b/server/subsonic/engine/common.go
index 53f15f357..0b2de0479 100644
--- a/server/subsonic/engine/common.go
+++ b/server/subsonic/engine/common.go
@@ -1,13 +1,11 @@
package engine
import (
- "context"
"fmt"
"time"
"github.com/deluan/navidrome/consts"
"github.com/deluan/navidrome/model"
- "github.com/deluan/navidrome/model/request"
)
type Entry struct {
@@ -160,11 +158,3 @@ func FromArtists(ars model.Artists) Entries {
}
return entries
}
-
-func userName(ctx context.Context) string {
- if user, ok := request.UserFrom(ctx); !ok {
- return "UNKNOWN"
- } else {
- return user.UserName
- }
-}