Skip to content

Commit

Permalink
Don't need these comments as the calls are self descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
AyBruno committed May 29, 2024
1 parent 906240f commit 3ae16d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/routes/library.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3ae16d3

Please sign in to comment.