Updated Dependencies, Makefiles for build process, Docker Images for Front & Backend

This commit is contained in:
Felix Kaspar
2024-08-31 21:55:25 +02:00
parent 734c871666
commit f3697a18e3
13 changed files with 923 additions and 916 deletions

View File

@@ -19,8 +19,8 @@ export async function validateOperations(actions: Action[]): Promise<{ valid: bo
return { valid: false, reason: `action.type ${action.type} does not exist` };
}
const schema = await getSchemaByName(action.type);
if(!operator) {
return { valid: false, reason: `action.type ${action.type} does not exist` };
if(!schema) {
return { valid: false, reason: `schema for action.type ${action.type} does not exist` };
}
const validationResult = schema.schema.validate({values: action.values});