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" }, }, }, },