|
|
@ -18,6 +18,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
handler: userController.getUsers,
|
|
|
|
handler: userController.getUsers,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fastify.route({
|
|
|
|
fastify.route({
|
|
|
|
method: "POST",
|
|
|
|
method: "POST",
|
|
|
|
url: "/api/users/:customerId",
|
|
|
|
url: "/api/users/:customerId",
|
|
|
@ -123,7 +124,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
|
|
|
|
|
|
|
fastify.route({
|
|
|
|
fastify.route({
|
|
|
|
method: "POST",
|
|
|
|
method: "POST",
|
|
|
|
url: "/api/users/:installationId",
|
|
|
|
url: "/api/user/:installationId",
|
|
|
|
schema: {
|
|
|
|
schema: {
|
|
|
|
tags: ["Install"],
|
|
|
|
tags: ["Install"],
|
|
|
|
description: "This is for cretae New user",
|
|
|
|
description: "This is for cretae New user",
|
|
|
|