open-music-api-node
Version:
20 lines (18 loc) • 382 B
JavaScript
const routes = (handler) => [
{
method: 'POST',
path: '/authentications',
handler: handler.postAuthenticationHandler,
},
{
method: 'PUT',
path: '/authentications',
handler: handler.putAuthenticationHandler,
},
{
method: 'DELETE',
path: '/authentications',
handler: handler.deleteAuthenticationHandler,
},
];
module.exports = routes;