Skip to content
Snippets Groups Projects
Commit d1a4831c authored by stevereis's avatar stevereis
Browse files

refactor: rename name to id

parent bafbb7df
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ export const experimentInputToData = (data: ExperimentCreateInput) => {
((data.transformations?.length > 0 || data.interactions?.length > 0) && {
single:
data.transformations?.map((t) => ({
var_name: t.name,
var_name: t.id,
unary_operation: t.operation,
})) || [],
interactions:
......
......@@ -4,7 +4,7 @@ import { AlgorithmInput } from './algorithm.input';
@InputType()
export class FormulaTransformation {
@Field()
name: string;
id: string;
@Field()
operation: string;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment