Make duration adhere to the spec

This commit is contained in:
Sumner Evans
2020-06-15 19:07:24 -06:00
committed by Senan Kelly
parent 9440bf3696
commit cadc02f923
2 changed files with 2 additions and 2 deletions

View File

@@ -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,
}