Skip to content

Commit e572543

Browse files
committed
adpat getOptionsFromModel to new schema
1 parent ad7354b commit e572543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/defaults/getOptionsFromModel.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
for i = 1:numel(fromInput)
6161

62-
thisEntity.key = schema.content.objects.entities.(fromInput{i}).entity;
62+
thisEntity.key = schema.content.objects.entities.(fromInput{i}).name;
6363
thisEntity.value = input.(fromInput{i});
6464

6565
% 'task', 'sub', 'space' will target a field in options

0 commit comments

Comments
 (0)