backend/app/routing/routers/api/v1/session.routes.js
garrettmills 273460b126
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Add support for fetching session data; add /start url
(Noded/frontend#15)
2020-10-12 20:32:27 -05:00

19 lines
234 B
JavaScript

const index = {
prefix: '/api/v1/session',
middleware: [
'auth:UserOnly',
],
get: {
'/': [ 'controller::api:v1:Session.get_session' ],
},
post: {
},
}
module.exports = exports = index