Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
javtran committed Mar 4, 2024
1 parent 9ac2a1b commit b460138
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/routes/api/v1/users/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export default async function (fastify, _opts) {
properties: {
id: { type: 'string' },
firstName: { type: 'string' },
lastName: {type: 'string'},
role: {type: 'string'},
lastName: { type: 'string' },
role: { type: 'string' },
email: { type: 'string', format: 'email' },
},
},
Expand Down
4 changes: 2 additions & 2 deletions server/routes/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export default async function (fastify, _opts) {
fastify.get('/', async function (_request, _reply) {
return { root: true };
});
fastify.register(import("./api/v1/users/index.js"), { prefix: '/user' })

fastify.register(import('./api/v1/users/index.js'), { prefix: '/user' });
}

0 comments on commit b460138

Please sign in to comment.