fix incorrect call to validate-bundle! fn

This commit is contained in:
Gered 2014-09-08 13:34:47 -04:00
parent 81db5968f1
commit f966e6b26f

View file

@ -312,7 +312,7 @@
"returns the base-url from the given FHIR bundle. throws an exception if the
value passed is not a valid FHIR bundle."
[bundle]
(validate-bundle!)
(validate-bundle! bundle)
(->> (:link bundle)
(filter #(= "fhir-base" (:rel %)))
(first)