Skip to content

Commit a0b6a5d

Browse files
authored
Bug fix for weight restraints not being given the correct object id (#886)
1 parent cc1a02d commit a0b6a5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WNPRC_EHR/src/client/weight/query/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const setupRestraintValues = (values: any[], taskId: string): Array<Restr
5555
Id: value.animalid.value,
5656
restraintType: value.restraint.value,
5757
taskid: taskId,
58-
objectid: value.restraint.objectid,
58+
objectid: value.restraint_objectid.value,
5959
date: value.date.value
6060
})
6161
}

0 commit comments

Comments
 (0)