fix typo
This commit is contained in:
parent
fd34048c81
commit
b9299fa9e2
|
@ -275,7 +275,7 @@ public class FhirRequestBuilder {
|
|||
case "application/xml":
|
||||
case "application/fhir+xml":
|
||||
case "text/xml":
|
||||
resource = getParser(ResourceFormat.RESOURCE_JSON.getHeader()).parse(response.body().bytes());
|
||||
resource = getParser(ResourceFormat.RESOURCE_XML.getHeader()).parse(response.body().bytes());
|
||||
break;
|
||||
case "text/plain":
|
||||
resource = outcomeFromTextError(response.body().string());
|
||||
|
|
|
@ -265,7 +265,7 @@ public class FhirRequestBuilder {
|
|||
case "application/xml":
|
||||
case "application/fhir+xml":
|
||||
case "text/xml":
|
||||
resource = getParser(ResourceFormat.RESOURCE_JSON.getHeader()).parse(response.body().bytes());
|
||||
resource = getParser(ResourceFormat.RESOURCE_XML.getHeader()).parse(response.body().bytes());
|
||||
break;
|
||||
case "text/plain":
|
||||
resource = OperationOutcomeUtilities.outcomeFromTextError(response.body().string());
|
||||
|
|
|
@ -268,7 +268,7 @@ public class FhirRequestBuilder {
|
|||
case "application/xml":
|
||||
case "application/fhir+xml":
|
||||
case "text/xml":
|
||||
resource = getParser(ResourceFormat.RESOURCE_JSON.getHeader()).parse(response.body().bytes());
|
||||
resource = getParser(ResourceFormat.RESOURCE_XML.getHeader()).parse(response.body().bytes());
|
||||
break;
|
||||
case "text/plain":
|
||||
resource = OperationOutcomeUtilities.outcomeFromTextError(response.body().string());
|
||||
|
|
Loading…
Reference in New Issue