diff --git a/routes/playlists.ts b/routes/playlists.ts index 80d0afc..f6196e0 100644 --- a/routes/playlists.ts +++ b/routes/playlists.ts @@ -37,7 +37,8 @@ export default function playlists(app: Application) { dbStore('playlists', id, { id, owner: username, - songs: [] + songs: [], + name: req.body.name }); res.send({