Skip to content

Commit 5f6b787

Browse files
committed
NPA-4610 Update Patch Consent Media Type Condition
1 parent f3cf198 commit 5f6b787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxies/live/apiproxy/targets/target.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</Step>
2222
<Step>
2323
<Name>RaiseFault.415UnsupportedMediaType</Name>
24-
<Condition>request.verb = "PATCH" and request.pathsuffix = "/FHIR/R4/Consent" and request.header.Content-Type != "application/json-patch+json"</Condition>
24+
<Condition>request.verb = "PATCH" and request.path MatchesPath "/validated-relationships/FHIR/R4/Consent/*" and request.header.Content-Type != "application/json-patch+json"</Condition>
2525
<!-- Catches PATCH /Consent Incorrect Content-Type -->
2626
</Step>
2727
<Step>

0 commit comments

Comments
 (0)