iut-hapi/lib/routes/user.js

12 lines
202 B
JavaScript
Raw Normal View History

2024-01-26 13:38:28 +00:00
'use strict';
module.exports = {
method: 'get',
path: '/user',
options: { },
handler: async (request, h) => {
return { firstName: 'John', lastName: 'Doe'};
}
};