Updated connections schema path
RENAME
src/assets/server/rest/schemas/connectors/connections/connection-creation.json
src/assets/server/rest/schemas/connections/connection-creation.json
MODIFY
src/server/rest/validation/ConnectionValidator.ts
src/server/rest/validation/ConnectionValidator.ts
@@ -9,7 +9,7 @@ export default class ConnectionValidator extends SchemaValidator {
private constructor() {
super('ConnectionValidator');
- this.connectionCreation = JSON.parse(fs.readFileSync(`${global.appRoot}/assets/server/rest/schemas/connectors/connections/connection-creation.json`, 'utf8'));
+ this.connectionCreation = JSON.parse(fs.readFileSync(`${global.appRoot}/assets/server/rest/schemas/connections/connection-creation.json`, 'utf8'));
}
public static getInstance(): ConnectionValidator {

Updated connections schema path