From 57c370c43dc4ad32861ab50d98ac7c8795ef3b97 Mon Sep 17 00:00:00 2001 From: varun Date: Wed, 21 Aug 2024 05:24:18 -0400 Subject: [PATCH 1/2] moved create user ti install --- src/routes/usersRoute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/usersRoute.js b/src/routes/usersRoute.js index 0144ccb2..4fa5fd9e 100644 --- a/src/routes/usersRoute.js +++ b/src/routes/usersRoute.js @@ -123,7 +123,7 @@ module.exports = function (fastify, opts, next) { fastify.route({ method: "POST", - url: "/api/users/:installationId", + url: "/api/user/:installationId", schema: { tags: ["Install"], description: "This is for cretae New user", From 013113e1d9aa89665d38719c734c8d705ad7d98c Mon Sep 17 00:00:00 2001 From: varun Date: Wed, 21 Aug 2024 05:30:42 -0400 Subject: [PATCH 2/2] moved create user ti install --- src/routes/usersRoute.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/usersRoute.js b/src/routes/usersRoute.js index 4fa5fd9e..1d52ae81 100644 --- a/src/routes/usersRoute.js +++ b/src/routes/usersRoute.js @@ -18,6 +18,7 @@ module.exports = function (fastify, opts, next) { handler: userController.getUsers, }); + fastify.route({ method: "POST", url: "/api/users/:customerId",