From 3ae16d3786801fbb869355c553baf4217af6cb63 Mon Sep 17 00:00:00 2001 From: Adrian Bruno Date: Wed, 29 May 2024 12:40:13 -0400 Subject: [PATCH] Don't need these comments as the calls are self descriptive --- src/routes/library.route.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/routes/library.route.ts b/src/routes/library.route.ts index 032f9d1..88a04f1 100644 --- a/src/routes/library.route.ts +++ b/src/routes/library.route.ts @@ -6,17 +6,14 @@ export const library_route = Router(); library_route.get('/', cognitoMiddleware(), libraryController.searchForAlbum); -// secure: mgmt library_route.post('/', cognitoMiddleware('station-management'), libraryController.addAlbum); -//secure: mgmt library_route.get('/rotation', cognitoMiddleware(), libraryController.getRotation); library_route.post('/rotation', cognitoMiddleware('station-management'), libraryController.addRotation); library_route.patch('/rotation', cognitoMiddleware('station-management'), libraryController.killRotation); -//secure: mgmt library_route.post('/artists', cognitoMiddleware('station-management'), libraryController.addArtist); library_route.get('/formats', cognitoMiddleware(), libraryController.getFormats);