From abb682c1e04ce23c46d23b3110daab2083366fcb Mon Sep 17 00:00:00 2001 From: OfficialDakari Date: Fri, 18 Oct 2024 21:33:07 +0500 Subject: [PATCH] feat: playlist name --- routes/playlists.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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({