From 594c901bea7689363858be1007f400d2ed4cb6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Andr=C3=A9s=20Dorado=20Su=C3=A1rez?= Date: Wed, 9 Oct 2024 19:33:54 -0500 Subject: [PATCH] fix(fc-pallet-pass): make clippy happy --- pallets/pass/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/pass/src/lib.rs b/pallets/pass/src/lib.rs index c290ee0..1eea17e 100644 --- a/pallets/pass/src/lib.rs +++ b/pallets/pass/src/lib.rs @@ -163,7 +163,7 @@ pub mod pallet { let device = Devices::::get(&account_id, device_id) .ok_or::(Error::::DeviceNotFound.into())?; device - .verify_user(&credential) + .verify_user(credential) .ok_or(Error::::CredentialInvalid.into()) }) .is_ok()