Remove some debug log output
parent
757275c8f6
commit
0b255b518c
1
db.go
1
db.go
|
@ -26,7 +26,6 @@ type Playlist struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app App) GetPlaylists() (playlists []Playlist, err error) {
|
func (app App) GetPlaylists() (playlists []Playlist, err error) {
|
||||||
log.Println(app.db.Ping(context.Background()))
|
|
||||||
rows, err := app.db.Query(context.Background(), "SELECT id, url, title FROM playlists")
|
rows, err := app.db.Query(context.Background(), "SELECT id, url, title FROM playlists")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in New Issue