Skip to content

Commit

Permalink
fix: use id_type() instead of type
Browse files Browse the repository at this point in the history
  • Loading branch information
Mollemoll committed May 16, 2024
1 parent b0cfb4e commit 4dd3b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl TaxId {

/// Performs a request to verify the tax id against the corresponding government database.
pub fn verify(&self) -> Result<Verification, VerificationError> {
self.id_type.verifier().verify(self)
self.id_type().verifier().verify(self)
}

/// Returns the full tax id value. IE: SE556703748501
Expand Down

0 comments on commit 4dd3b6b

Please sign in to comment.