diff --git a/routes/index.ts b/routes/index.ts index 9ce9e53..427fcbc 100644 --- a/routes/index.ts +++ b/routes/index.ts @@ -3,6 +3,7 @@ import initConfigRoute from "./config.js"; import routeYTM from "./ytm.js"; import authRoutes from "./auth.js"; import createHttpError from "http-errors"; +import playlists from "./playlists.js"; export default function init(app: Application) { @@ -10,6 +11,7 @@ export default function init(app: Application) { routeYTM(app); authRoutes(app); + playlists(app); app.use((err: Error, req: Request, res: Response, next: any) => { if (err && typeof (err as createHttpError.HttpError)['statusCode'] === 'number') {