From 4596570b4f865f2a17da7dc3961284ada9ce4fd9 Mon Sep 17 00:00:00 2001 From: bhaskar Date: Fri, 26 May 2023 16:58:52 +0530 Subject: [PATCH] type changes --- src/routes/createConnectionsRoute.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/routes/createConnectionsRoute.js b/src/routes/createConnectionsRoute.js index 4ffe5499..1c9efd91 100644 --- a/src/routes/createConnectionsRoute.js +++ b/src/routes/createConnectionsRoute.js @@ -180,9 +180,9 @@ module.exports = function (fastify, opts, next) { items: { type: "object", properties: { - inputConnections: { type: "string", default: null }, - type: { type: "string", default: null }, - inputismotor: { type: "boolean" }, + inputConnections: { type: "string", default: null }, + input_type: { type: "string", default: null }, + inputismotor: { type: "boolean"}, }, }, }, @@ -192,9 +192,9 @@ module.exports = function (fastify, opts, next) { items: { type: "object", properties: { - outputConnections: { type: "string", default: null }, - type: { type: "string", default: null }, - outputismotor: { type: "boolean" }, + outputConnections: { type: "string", default: null }, + output_type: { type: "string", default: null }, + outputismotor: { type: "boolean" }, }, }, },