Make duration adhere to the spec
This commit is contained in:
committed by
Senan Kelly
parent
9440bf3696
commit
cadc02f923
@@ -9,7 +9,7 @@ func NewPlaylist(p *db.Playlist) *Playlist {
|
||||
ID: p.ID,
|
||||
Name: p.Name,
|
||||
Comment: p.Comment,
|
||||
Duration: "1",
|
||||
Duration: 1,
|
||||
Public: true,
|
||||
Created: p.CreatedAt,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user