An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(identity-wallet): fix unused variable and unnecessary mut warnings in submit_claim

authored by

Malpercio and committed by
Tangled
dd0905b1 e364b6d8

+2 -2
+2 -2
apps/identity-wallet/src-tauri/src/claim.rs
··· 990 990 #[tauri::command] 991 991 pub async fn submit_claim( 992 992 state: tauri::State<'_, crate::oauth::AppState>, 993 - did: String, 993 + _did: String, 994 994 ) -> Result<ClaimResult, ClaimError> { 995 995 let pds_client = state.pds_client(); 996 996 ··· 1000 1000 claim_state.as_ref().cloned() 1001 1001 }; 1002 1002 1003 - let Some(mut claim_state) = claim_state_copy else { 1003 + let Some(claim_state) = claim_state_copy else { 1004 1004 return Err(ClaimError::Unauthorized); 1005 1005 }; 1006 1006