File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def _check_permissions(
7070 # Allow BARS proxy to create an appointment document reference for any organisation
7171 if (
7272 metadata .ods_code in ["V4TOL" , "V4T0L" ]
73- and core_model .type . coding [ 0 ]. code == PointerTypes .APPOINTMENT .coding_value ()
73+ and core_model .type == PointerTypes .APPOINTMENT .value
7474 ):
7575 return
7676
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def handler(
6464
6565 if (
6666 metadata .ods_code in ["V4TOL" , "V4T0L" ]
67- and core_model .type . coding [ 0 ]. code == PointerTypes .APPOINTMENT .coding_value ()
67+ and core_model .type == PointerTypes .APPOINTMENT .value
6868 ):
6969 # If bars app - don't validate the ods code against the pointer
7070 logger .log (
You can’t perform that action at this time.
0 commit comments