Archived
2

added first_id for template response

This commit is contained in:
VLE2FE
2020-07-23 15:25:45 +02:00
parent 3b08fb63c7
commit a8e8b28c11
3 changed files with 34 additions and 23 deletions

View File

@ -65,6 +65,7 @@ export default class TemplateValidate {
_id: IdValidate.get(),
name: this.template.name,
version: this.template.version,
first_id: IdValidate.get(),
parameters: this.template.parameters
}).validate(data, {stripUnknown: true});
return error !== undefined? null : value;