Refactor: NewResponse is more explicit
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/cloudsonic/sonic-server/utils"
|
||||
)
|
||||
|
||||
func NewEmpty() *responses.Subsonic {
|
||||
func NewResponse() *responses.Subsonic {
|
||||
return &responses.Subsonic{Status: "ok", Version: Version}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user