diff --git a/server/config/forms/useOfForceDetailsForm.js b/server/config/forms/useOfForceDetailsForm.js index 56ca7b14..5ca5c200 100644 --- a/server/config/forms/useOfForceDetailsForm.js +++ b/server/config/forms/useOfForceDetailsForm.js @@ -105,7 +105,7 @@ const completeSchema = joi.object({ 'STANDING__DOUBLE_WRIST_HOLD', 'STANDING__UNDERHOOK', 'STANDING__WRIST_HOLD', - 'STANDING__STRAIGHT_HOLD', + 'STANDING__STRAIGHT_ARM_HOLD', 'ON_BACK', 'ON_BACK__STRAIGHT_ARM_HOLD', 'ON_BACK__CONVERSION_TO_RBH', diff --git a/server/services/reportSummary.ts b/server/services/reportSummary.ts index 8f22f722..3f2d670a 100644 --- a/server/services/reportSummary.ts +++ b/server/services/reportSummary.ts @@ -73,7 +73,7 @@ const createUseOfForceDetails = ( controlAndRestraintUsed: details.restraint === undefined || details.restraint ? getRestraintPositions(details.restraintPositions) - : getRestraintPositions(ControlAndRestraintPosition.NONE), + : getRestraintPositions(ControlAndRestraintPosition.NONE.value), painInducingTechniques: getPainInducingTechniques(details), handcuffsApplied: details.handcuffsApplied,