Skip to content

Commit

Permalink
fix(fc-pallet-pass): make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Oct 10, 2024
1 parent dc31e36 commit 594c901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/pass/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pub mod pallet {
let device = Devices::<T, I>::get(&account_id, device_id)
.ok_or::<DispatchError>(Error::<T, I>::DeviceNotFound.into())?;
device
.verify_user(&credential)
.verify_user(credential)
.ok_or(Error::<T, I>::CredentialInvalid.into())
})
.is_ok()
Expand Down

0 comments on commit 594c901

Please sign in to comment.