diff --git a/src/lib.rs b/src/lib.rs index 91ed788..f4cbee7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -112,7 +112,7 @@ impl TaxId { /// Performs a request to verify the tax id against the corresponding government database. pub fn verify(&self) -> Result { - self.id_type.verifier().verify(self) + self.id_type().verifier().verify(self) } /// Returns the full tax id value. IE: SE556703748501