export default {
routes: [
{
method: 'PUT',
path: '/my-user',
handler: 'api::my-user.my-user.update',
config: {
auth: false,
policies: ['global::auth0'],
},
},
{
method: 'GET',
path: '/my-user',
handler: 'api::my-user.my-user.get',
config: {
auth: false,
policies: ['global::auth0'],
},
},
],
};